Type | Name | Description | Notes |
Direction | alignment | Sets or returns the alignment of the text inside the text field. The text can be right-aligned (IlvRight ), left-aligned (IlvLeft ) or centered (IlvCenter ). | |
Boolean | focusChange | Specifies whether the keyboard focus is moved to the next gadget when the Return key is pressed (true ). | |
Int | cursorPosition | Sets or returns the cursor position. A value of 0 means that the cursor is just before the first character of the label. | |
Boolean | editable | Sets the text as editable. Returns true if the text is editable and false otherwise. Non-editable text may be selected for copying. | |
String | label | Sets or returns the label that is currently displayed. | |
Int | maxChar | Gets or sets the maximal number of characters that the user can type in a text field. If maxChar has a negative value, there is no limit. This limit does not apply to character strings that were entered before maxChar was set. | |
Int | selectionEnd | Int selectionEnd
| |
Int | selectionStart | Get or set the selection range. To set the selected characters, count the number of delimiters rather than the number of intervals, as follows:
If there are six characters: |A|B|C|D|E|F|, then there are seven delimiters from 0 to 6 starting from the left. Thus (selectionStart=1, selectionEnd=5) selects B,C,D and E and (selectionStart=1, selectionEnd=2) selects B. | |