Packagesystem.diagnostics
Classpublic class TextFieldConsole
InheritanceTextFieldConsole Inheritance Object
Implements InteractiveConsole

The TextFieldConsole use a TextField display that redirect messages in the debug application.

Note: You can not read from the output and so the TextFieldConsole is not interactive.



Public Properties
 PropertyDefined By
  autoScroll : Boolean
Indicates if the field must scroll when the writeLine method is invoked.
TextFieldConsole
  textfield : TextField
The TextField reference of this console.
TextFieldConsole
  verbose : Boolean
Indicates the verbose mode.
TextFieldConsole
Public Methods
 MethodDefined By
  
TextFieldConsole(textfield:TextField, autoScroll:Boolean = true, verbose:Boolean = true)
Creates a new TextFieldConsole instance.
TextFieldConsole
  
read():String
TextFieldConsole
  
readLine():String
TextFieldConsole
  
write(... messages):void
TextFieldConsole
  
writeLine(... messages):void
Appends the message format and add newline character.
TextFieldConsole
Property Detail
autoScrollproperty
public var autoScroll:Boolean

Indicates if the field must scroll when the writeLine method is invoked.

textfieldproperty 
public var textfield:TextField

The TextField reference of this console.

verboseproperty 
public var verbose:Boolean

Indicates the verbose mode.

Constructor Detail
TextFieldConsole()Constructor
public function TextFieldConsole(textfield:TextField, autoScroll:Boolean = true, verbose:Boolean = true)

Creates a new TextFieldConsole instance.

Parameters
textfield:TextField — The TextField reference to redirect the messages.
 
autoScroll:Boolean (default = true)
 
verbose:Boolean (default = true)
Method Detail
read()method
public final function read():String

Returns
String
readLine()method 
public final function readLine():String

Returns
String
write()method 
public final function write(... messages):void

Parameters

... messages

writeLine()method 
public function writeLine(... messages):void

Appends the message format and add newline character.

Parameters

... messages