qnx.fuse.ui.dialog.data.DialogTextInputOptions

DialogTextInputOptions

Methods | Constants


Packageqnx.fuse.ui.dialog.data
Classpublic class DialogTextInputOptions
InheritanceDialogTextInputOptions Inheritance Object

The DialogTextInputOptions class defines the constant values for the text input options that can be passed into the dialogs for their TextInput fields.

Class information:
BlackBerry 10 Version:   10.0.0



Public Methods

 MethodDefined By
  
hasAutoCapitalize(flags:int):String
[static] The hasAutoCapitalize function determines if AutoCapitalize is required for the TextInput field based on the flags passed into the function.
DialogTextInputOptions
  
hasAutoCorrect(flags:int):Boolean
[static] The hasAutoCorrect function determines if AutoCorrect is required for the TextInput field based on the flags passed into the function.
DialogTextInputOptions
  
hasSpellCheck(flags:int):Boolean
[static] The hasSpellCheck function determines if SpellCheck is required for the TextInput field based on the flags passed into the function.
DialogTextInputOptions

Public Constants

 ConstantDefined By
  AUTOCAPITALIZE : int = 1
[static] Constant for the AutoCapitalize option being set for the field.
DialogTextInputOptions
  AUTOCORRECT : int = 2
[static] Constant for the AutoCorrect option being set for the field.
DialogTextInputOptions
  NONE : int = 0
[static] Constant indicating no input options.
DialogTextInputOptions
  SPELLCHECK : int = 4
[static] Constant for the SpellCheck option being set for the field.
DialogTextInputOptions

Method Detail

hasAutoCapitalize()


public static function hasAutoCapitalize(flags:int):String

The hasAutoCapitalize function determines if AutoCapitalize is required for the TextInput field based on the flags passed into the function.

Parameters

flags:int — The IMF flags for the TextInput field.

Returns

String

hasAutoCorrect()


public static function hasAutoCorrect(flags:int):Boolean

The hasAutoCorrect function determines if AutoCorrect is required for the TextInput field based on the flags passed into the function.

Parameters

flags:int — The IMF flags for the TextInput field.

Returns

Boolean

hasSpellCheck()


public static function hasSpellCheck(flags:int):Boolean

The hasSpellCheck function determines if SpellCheck is required for the TextInput field based on the flags passed into the function.

Parameters

flags:int — The IMF flags for the TextInput field.

Returns

Boolean

Constant Detail

AUTOCAPITALIZE


public static const AUTOCAPITALIZE:int = 1

Constant for the AutoCapitalize option being set for the field.

AUTOCORRECT


public static const AUTOCORRECT:int = 2

Constant for the AutoCorrect option being set for the field.

NONE


public static const NONE:int = 0

Constant indicating no input options.

SPELLCHECK


public static const SPELLCHECK:int = 4

Constant for the SpellCheck option being set for the field.





comments powered by Disqus