Methods' Details |
addTextListener
- Description
- registers a text event listener.
|
|
removeTextListener
- Description
- unregisters a text event listener.
|
|
setText
[oneway] void |
setText( |
[in] string |
aText ); |
- Description
- sets the text of the component.
|
|
insertText
[oneway] void |
insertText( |
[in] Selection |
Sel, |
| [in] string |
Text ); |
- Description
- inserts text at the specified position.
|
|
getText
- Description
- returns the text of the component.
|
|
getSelectedText
string |
getSelectedText(); |
- Description
- returns the currently selected text.
|
|
setSelection
[oneway] void |
setSelection( |
[in] Selection |
aSelection ); |
- Description
- sets the user selection.
|
|
getSelection
- Description
- returns the current user selection.
|
|
isEditable
- Description
- returns if 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( |
[in] short |
nLen ); |
- Description
- sets the maximum text length.
|
|
getMaxTextLen
- Description
- returns the currently set maximum text length.
|
|
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.