| thinwire.ui.EditorComponent
All known Subclasses: thinwire.ui.AbstractEditorComponent,
Method Summary | |
public int | getCursorIndex() | public int | getMaxLength() Gets the TextField's max length. | public int | getSelectionBeginIndex() | public int | getSelectionEndIndex() | public void | setCursorIndex(int index) Sets the index of the cursor position
Events:
If the prior values and new values differ, setting this property causes a PropertyChangeEvent ( propertyName = PROPERTY_CURSOR_INDEX ) to be generated. | public void | setMaxLength(int maxLength) Sets the editor max length. | public void | setSelectionBeginIndex(int selectionBeginIndex) Sets the index of the beginning of a selection
Events:
If the prior values and new values differ, setting this property causes a PropertyChangeEvent ( propertyName = PROPERTY_SELECTION_BEGIN_INDEX ) to be generated. | public void | setSelectionEndIndex(int selectionEndIndex) Sets the index of the end of the selection
Events:
If the prior values and new values differ, setting this property causes a PropertyChangeEvent ( propertyName = PROPERTY_SELECTION_END_INDEX ) to be generated. | public void | setSelectionRange(int selectionBeginIndex, int selectionEndIndex) Sets the range of the selection
Events:
If the prior values and new values differ, setting this property causes 2 PropertyChangeEvent s ( propertyName = PROPERTY_SELECTION_BEGIN_INDEX and propertyName = PROPERTY_SELECTION_END_INDEX ) to be generated. |
PROPERTY_CURSOR_INDEX | final public static String PROPERTY_CURSOR_INDEX(Code) | | |
PROPERTY_MAX_LENGTH | final public static String PROPERTY_MAX_LENGTH(Code) | | |
PROPERTY_SELECTION_BEGIN_INDEX | final public static String PROPERTY_SELECTION_BEGIN_INDEX(Code) | | |
PROPERTY_SELECTION_END_INDEX | final public static String PROPERTY_SELECTION_END_INDEX(Code) | | |
getMaxLength | public int getMaxLength()(Code) | | Gets the TextField's max length.
Returns the maxLength. |
getSelectionBeginIndex | public int getSelectionBeginIndex()(Code) | | Returns the index of the beginning of the selection
the index at the start of the selection or -1 if there is no selection See Also: EditorComponent.setSelectionBeginIndex() |
setMaxLength | public void setMaxLength(int maxLength)(Code) | | Sets the editor max length.
Parameters: maxLength - The maxLength to set. |
|
|