| Package | uk.msfx.utils.tracing.core |
| Class | public class TrConsoleCore |
| Inheritance | TrConsoleCore flash.display.Sprite |
| Subclasses | TrConsole, TrConsole |
| Property | Defined By | ||
|---|---|---|---|
| autoscroll : Boolean
Whether the textfield will autoscroll when new traces made. | TrConsoleCore | ||
| backgroundColour : uint [write-only]
The background colour for the console. | TrConsoleCore | ||
| showing : Boolean [read-only]
Whether the console is showing or in minimized format. | TrConsoleCore | ||
| strokeColour : uint [write-only]
The stroke colour for the console. | TrConsoleCore | ||
| textfield : TrTextField
The textfield to ouput the traces to. | TrConsoleCore | ||
| Method | Defined By | ||
|---|---|---|---|
TrConsoleCore(width:int = 600, height:int = 200, saveAndClipboard:Boolean = true, transparentOnHide:Boolean = false)
Constructor. | TrConsoleCore | ||
hide():void
Hide the console, leaving only the title bar visible. | TrConsoleCore | ||
show():void
Hide the console, leaving only the title bar visible. | TrConsoleCore | ||
| Constant | Defined By | ||
|---|---|---|---|
| MINIMUM_HEIGHT : int = 200
Minimum Height of the console. | TrConsoleCore | ||
| MINIMUM_WIDTH : int = 450
Minimum Width of the console. | TrConsoleCore | ||
| autoscroll | property |
autoscroll:BooleanWhether the textfield will autoscroll when new traces made.
public function get autoscroll():Boolean public function set autoscroll(value:Boolean):void| backgroundColour | property |
backgroundColour:uint [write-only] The background colour for the console.
public function set backgroundColour(value:uint):void| showing | property |
showing:Boolean [read-only] Whether the console is showing or in minimized format.
public function get showing():Boolean| strokeColour | property |
strokeColour:uint [write-only] The stroke colour for the console.
public function set strokeColour(value:uint):void| textfield | property |
textfield:TrTextFieldThe textfield to ouput the traces to.
public function get textfield():TrTextField public function set textfield(value:TrTextField):void| TrConsoleCore | () | Constructor |
public function TrConsoleCore(width:int = 600, height:int = 200, saveAndClipboard:Boolean = true, transparentOnHide:Boolean = false)Constructor.
Parameterswidth:int (default = 600) — The width of the console.
| |
height:int (default = 200) — The height of the console.
| |
saveAndClipboard:Boolean (default = true) — OPTIONAL Whether to have the Clipboard and Save buttons.
| |
transparentOnHide:Boolean (default = false) — OPTIONAL Whether to make the console transparent when minimizing.
|
| hide | () | method |
public function hide():voidHide the console, leaving only the title bar visible.
| show | () | method |
public function show():voidHide the console, leaving only the title bar visible.
| MINIMUM_HEIGHT | Constant |
protected const MINIMUM_HEIGHT:int = 200Minimum Height of the console.
| MINIMUM_WIDTH | Constant |
protected const MINIMUM_WIDTH:int = 450Minimum Width of the console.