A TextArea that automatically scrolls to the bottom when new text is
added, as is required in chat and logging interfaces. When the user scrolls
the text field up, the automatic-scroll behaviour is temporarily disabled.
Based on Flex's TextArea class.
Disposes of the resources used by this object, preparing it for garbage
collection.
AutoScrollTextArea
Variable Descriptions
maxLength
variable
maxLength:int
Since :
ReactorGUI 1.0.0
The maximum allowed number of characters for the text field.
When the text field's content exceeds the specified maxLength,
characters at the top of the text field (starting at index 0) are
automatically removed.
Implementation public function get maxLength():int public function set maxLength(value:int):void
text
variable
text:String [write-only] [override]
Since :
ReactorGUI 1.0.0
The text field's content. The AutoScrollTextArea class overrides
Flex's TextArea's text setter in order to truncate text if necessary at
assignment time.
Implementation public function set text(value:String):void
Constructor Description
AutoScrollTextArea
()
Constructor
public function AutoScrollTextArea()
Constructor
Method Descriptions
appendText
()
method
public function appendText(value:String):void
Since :
ReactorGUI 1.0.0
Adds new text to the end of the text field, truncating characters if
necessary.
Parameters
value:String
dispose
()
method
public function dispose():void
Since :
ReactorGUI 1.0.0
Disposes of the resources used by this object, preparing it for garbage
collection.