Changed Methods |
void addTextListener(TextListener )
|
Documentation changed from old to new. |
Adds the specified text event listener to receive text events from this text component. |
int getCaretPosition()
|
Documentation changed from old to new. |
Gets the position of the text insertion caret for this text component. |
EventListener[] getListeners(Class )
|
Documentation changed from old to new. |
Returns an array of all the objects currently registered as FooListener s upon this TextComponent . |
String getSelectedText()
|
Documentation changed from old to new. |
Returns the selected text from the text that is presented by this text component. |
int getSelectionEnd()
|
Documentation changed from old to new. |
Gets the end position of the selected text in this text component. |
int getSelectionStart()
|
Documentation changed from old to new. |
Gets the start position of the selected text in this text component. |
String getText()
|
Documentation changed from old to new. |
Returns the text that is presented by this text component. |
String paramString()
|
Documentation changed from old to new. |
Returns a string representing the state of this TextComponent . |
void processEvent(AWTEvent )
|
Documentation changed from old to new. |
Processes events on this text component. |
void processTextEvent(TextEvent )
|
Documentation changed from old to new. |
Processes text events occurring on this text component by dispatching them to any registered TextListener objects. |
void removeNotify()
|
Documentation changed from old to new. |
Removes the TextComponent 's peer. |
void removeTextListener(TextListener )
|
Documentation changed from old to new. |
Removes the specified text event listener so that it no longer receives text events from this text component If l is null no exception is thrown and no action is performed. |
void select(int, int)
|
Documentation changed from old to new. |
Selects the text between the specified start and end positions. |
void setCaretPosition(int )
|
Documentation changed from old to new. |
Sets the position of the text insertion caret for this text component. |
void setSelectionEnd(int )
|
Documentation changed from old to new. |
Sets the selection end for this text component to the specified position. |
void setSelectionStart(int )
|
Documentation changed from old to new. |
Sets the selection start for this text component to the specified position. |
void setText(String )
|
Documentation changed from old to new. |
Sets the text that is presented by this text component to be the specified text. |