Packagenet.user1.reactor.ui
Classpublic class AutoScrollTextArea
InheritanceAutoScrollTextArea Inheritance mx.controls.TextArea
Subclasses ChatIncomingTextArea

Since : ReactorGUI 1.0.0

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.



Public Variables
 VariableDefined By
  maxLength : int
The maximum allowed number of characters for the text field.
AutoScrollTextArea
  text : String
[override] [write-only] The text field's content.
AutoScrollTextArea
Public Methods
 MethodDefined By
  
Constructor
AutoScrollTextArea
  
appendText(value:String):void
Adds new text to the end of the text field, truncating characters if necessary.
AutoScrollTextArea
  
dispose():void
Disposes of the resources used by this object, preparing it for garbage collection.
AutoScrollTextArea
Variable Descriptions
maxLengthvariable
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
textvariable 
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.