Package | net.user1.reactor.ui |
Class | public class ChatIncomingTextArea |
Inheritance | ChatIncomingTextArea ![]() ![]() |
Since : | ReactorGUI 1.0.0 |
theRoom.sendMessage(ChatMessages.CHAT, "Hello world!");
theClient.sendMessage(ChatMessages.PRIVATE_CHAT, "How old are you?");
Variable | Defined By | ||
---|---|---|---|
![]() | maxLength : int
The maximum allowed number of characters for the text field. | AutoScrollTextArea | |
messageManager : MessageManager
A Reactor MessageManager reference used to receive private chat messages. | ChatIncomingTextArea | ||
room : Room
A Reactor Room reference used to receive chat messages. | ChatIncomingTextArea | ||
![]() | text : String [override] [write-only]
The text field's content. | AutoScrollTextArea |
Method | Defined By | ||
---|---|---|---|
Constructor
| ChatIncomingTextArea | ||
![]() | appendText(value:String):void
Adds new text to the end of the text field, truncating characters if
necessary. | AutoScrollTextArea | |
displayMessage(message:String):void
Displays a line of text in the incoming chat text field. | ChatIncomingTextArea | ||
dispose():void [override]
Disposes of the resources used by this object, preparing it for garbage
collection. | ChatIncomingTextArea |
messageManager | variable |
messageManager:MessageManager
Since : | ReactorGUI 1.0.0 |
A Reactor MessageManager reference used to receive private chat messages.
public function get messageManager():MessageManager
public function set messageManager(value:MessageManager):void
room | variable |
room:Room
Since : | ReactorGUI 1.0.0 |
A Reactor Room reference used to receive chat messages.
public function get room():Room
public function set room(value:Room):void
ChatIncomingTextArea | () | Constructor |
public function ChatIncomingTextArea()
Constructor
displayMessage | () | method |
public function displayMessage(message:String):void
Displays a line of text in the incoming chat text field.
Parameters
message:String |
dispose | () | method |
override public function dispose():void
Since : | ReactorGUI 1.0.0 |
Disposes of the resources used by this object, preparing it for garbage collection.