User Guide

1184 TextArea component
Methods inherited from the UIComponent class
The following table lists the methods the TextArea class inherits from the UIComponent
class. When calling these methods from the TextArea object, use the form
TextAreaInstance.methodName.
Property summary for the TextArea class
The following table lists properties of the TextArea class.
UIObject.setSkin() Sets a skin in the object.
UIObject.setStyle() Sets the style property on the style declaration or object.
Method Description
UIComponent.getFocus() Returns a reference to the object that has focus.
UIComponent.setFocus() Sets focus to the component instance.
Property Description
TextArea.editable A Boolean value indicating whether the field is editable (true)
or not (
false).
TextArea.hPosition Defines the horizontal position of the text in the field.
TextArea.hScrollPolicy Indicates whether the horizontal scroll bar is always on ("on"),
is never on (
"off"), or turns on when needed ("auto").
TextArea.html A Boolean value that indicates whether the text area contents
can be formatted with HTML.
TextArea.length Read-only; the number of characters in the text area.
TextArea.maxChars The maximum number of characters that the text area can
contain.
TextArea.maxHPosition Read-only; the maximum value of TextArea.hPosition.
TextArea.maxVPosition Read-only; the maximum value of TextArea.vPosition.
TextArea.password A Boolean value indicating whether the field is a password
field (
true) or not (false).
TextArea.restrict The set of characters that a user can enter in the text area.
TextArea.styleSheet Attaches a style sheet to the specified TextArea component.
TextArea.text The text contents of a TextArea component.
Method Description