TextInputIconMode
Package | qnx.fuse.ui.text |
Class | public class TextInputIconMode |
Inheritance | TextInputIconMode ![]() |
The
TextInputIconMode
class contains the constants that govern
when the clear text icon is enabled on a TextInput
field. The clear text icon
clears any text in the TextInput
field.
The clear text icon appears on the right-side of the TextInput
field:
Class information: |
---|
PlayBook Tablet OS Version: 1.0.6 |
See also
Public Constants
Constant | Defined By | ||
---|---|---|---|
ALWAYS : int = 1 [static]
Enables the clear text icon. | TextInputIconMode | ||
NEVER : int = 0 [static]
Disables the clear text icon. | TextInputIconMode | ||
UNLESS_EDITING : int = 3 [static]
Disables the clear text icon when the user is entering text in the TextInput field. | TextInputIconMode | ||
WHILE_EDITING : int = 2 [static]
Enables the clear text icon only when a user is entering text in the TextInput field. | TextInputIconMode |
Constant Detail
ALWAYS
public static const ALWAYS:int = 1 |
Enables the clear text icon. The icon is always present in the TextInput
field.
NEVER
public static const NEVER:int = 0 |
Disables the clear text icon.
UNLESS_EDITING
public static const UNLESS_EDITING:int = 3 |
Disables the clear text icon when the user is entering text in the TextInput
field.
WHILE_EDITING
public static const WHILE_EDITING:int = 2 |
Enables the clear text icon only when a user is entering text in the TextInput
field.
This is the default value.