Packagenet.user1.reactor.ui
Classpublic class TextInputWindow
InheritanceTextInputWindow Inheritance mx.containers.TitleWindow

Since : ReactorGUI 1.0.0

A general-purpose popup window for receiving text input in an application. Includes a text field, an OK button, and a Cancel button. The name of the input field should be specified in the window title. Clicking a TextInputWindow's OK button triggers a TextInputWindowEvent.SUBMIT event.

View the examples



Public Methods
 MethodDefined By
  
Constructor
TextInputWindow
  
close():void
Closes this popup window by calling PopUpManager.removePopUp(this).
TextInputWindow
Constructor Description
TextInputWindow()Constructor
public function TextInputWindow()

Constructor

Method Descriptions
close()method
public function close():void

Since : ReactorGUI 1.0.0

Closes this popup window by calling PopUpManager.removePopUp(this).

Examples
The following code creates a TextInputWindow to set a chat room topic:
   var popup:TextInputWindow = TextInputWindow(
                        PopUpManager.createPopUp(this, TextInputWindow, true));
   popup.title = "Set New Topic";
   popup.addEventListener(TextInputWindowEvent.SUBMIT, submitListener);      
   PopUpManager.centerPopUp(popup);