Methods' Details
|
- addTextListener
-  
- [ oneway ] void
addTextListener(
-
- Description
- registers a text event listener.
|
- removeTextListener
-  
- [ oneway ] void
removeTextListener(
-
- Description
- unregisters a text event listener.
|
- setText
-  
- [ oneway ] void
setText(
-
- Description
- sets the text of the text field.
|
- insertText
-  
- [ oneway ] void
insertText(
-
- Description
- inserts text at the given position.
|
- getText
-  
string
getText();
- Returns
-
the currently set text of this text component.
|
- getSelectedText
-  
string
getSelectedText();
- Returns
-
the currently selected text.
|
- setSelection
-  
- [ oneway ] void
setSelection(
-
- Description
- sets the user selection.
|
- getSelection
-  
com::sun::star::awt::Selection
getSelection();
- Returns
-
the current user selection.
|
- isEditable
-  
boolean
isEditable();
- Returns
-
whether the text is editable by the user.
|
- setEditable
-  
- [ oneway ] void
setEditable(
[ in ] boolean |
bEditable ); |
- Description
- makes the text editable for the user or read-only.
|
- setMaxTextLen
-  
- [ oneway ] void
setMaxTextLen(
-
- Description
- sets the maximum text length.
|
- getMaxTextLen
-  
short
getMaxTextLen();
- Returns
-
the currently set maximum text length.
|
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.