Fields
Name | Description |
---|---|
textListener |
Methods
Name | Description |
---|---|
addTextListener(TextListener) | Adds the specified text event listener to recieve text events from this textcomponent. |
getCaretPosition() | Gets the position of the text insertion caret for this text component. |
getSelectedText() | Gets the selected text from the text that is presented by this text component. |
getSelectionEnd() | Gets the end position of the selected text in this text component. |
getSelectionStart() | Gets the start position of the selected text in this text component. |
getText() | Gets the text that is presented by this text component. |
isEditable() | Indicates whether or not this text component is editable. |
paramString() | Returns the parameter string representing the state of this text component. |
processEvent(AWTEvent) | Processes events on this textcomponent. |
processTextEvent(TextEvent) | Processes text events occurring on this text component by dispatching them to any registered TextListener objects. |
removeNotify() | Removes the TextComponent's peer. |
removeTextListener(TextListener) | Removes the specified text event listener so that it no longer receives text events from this textcomponent |
select(int, int) | Selects the text between the specified start and end positions. |
selectAll() | Selects all the text in this text component. |
setCaretPosition(int) | Sets the position of the text insertion caret for this text component. |
setEditable(boolean) | Sets the flag that determines whether or not this text component is editable. |
setSelectionEnd(int) | Sets the selection end for this text component to the specified position. |
setSelectionStart(int) | Sets the selection start for this text component to the specified position. |
setText(String) | Sets the text that is presented by this text component to be the specified text. |