| Package | qnx.fuse.ui.text |
| Class | public class TextInputIconMode |
| Inheritance | TextInputIconMode Object |
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:
See also
| 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 | ||
| ALWAYS | Constant |
public static const ALWAYS:int = 1
Enables the clear text icon. The icon is always present in the TextInput field.
| NEVER | Constant |
public static const NEVER:int = 0Disables the clear text icon.
| UNLESS_EDITING | Constant |
public static const UNLESS_EDITING:int = 3
Disables the clear text icon when the user is entering text in the TextInput field.
| WHILE_EDITING | Constant |
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.