| Package | system.diagnostics |
| Class | public class TextFieldConsole |
| Inheritance | TextFieldConsole Object |
| Implements | InteractiveConsole |
Note: You can not read from the output and so the TextFieldConsole is not interactive.
| Property | Defined 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 | ||
| Method | Defined 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 | ||
| autoScroll | property |
public var autoScroll:BooleanIndicates if the field must scroll when the writeLine method is invoked.
| textfield | property |
public var textfield:TextFieldThe TextField reference of this console.
| verbose | property |
public var verbose:BooleanIndicates the verbose mode.
| TextFieldConsole | () | Constructor |
public function TextFieldConsole(textfield:TextField, autoScroll:Boolean = true, verbose:Boolean = true)Creates a new TextFieldConsole instance.
Parameterstextfield:TextField — The TextField reference to redirect the messages.
| |
autoScroll:Boolean (default = true) | |
verbose:Boolean (default = true) |
| read | () | method |
public final function read():StringReturnsString |
| readLine | () | method |
public final function readLine():StringReturnsString |
| write | () | method |
public final function write(... messages):voidParameters
... messages |
| writeLine | () | method |
public function writeLine(... messages):voidAppends the message format and add newline character.
Parameters
... messages |