Packageuk.msfx.utils.tracing.core
Classpublic class TrConsoleCore
InheritanceTrConsoleCore Inheritance flash.display.Sprite
Subclasses TrConsole, TrConsole

Tr.ace Console Core.



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined 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
Protected Constants
 ConstantDefined By
  MINIMUM_HEIGHT : int = 200
Minimum Height of the console.
TrConsoleCore
  MINIMUM_WIDTH : int = 450
Minimum Width of the console.
TrConsoleCore
Property Detail
autoscrollproperty
autoscroll:Boolean

Whether the textfield will autoscroll when new traces made.


Implementation
    public function get autoscroll():Boolean
    public function set autoscroll(value:Boolean):void
backgroundColourproperty 
backgroundColour:uint  [write-only]

The background colour for the console.


Implementation
    public function set backgroundColour(value:uint):void
showingproperty 
showing:Boolean  [read-only]

Whether the console is showing or in minimized format.


Implementation
    public function get showing():Boolean
strokeColourproperty 
strokeColour:uint  [write-only]

The stroke colour for the console.


Implementation
    public function set strokeColour(value:uint):void
textfieldproperty 
textfield:TrTextField

The textfield to ouput the traces to.


Implementation
    public function get textfield():TrTextField
    public function set textfield(value:TrTextField):void
Constructor Detail
TrConsoleCore()Constructor
public function TrConsoleCore(width:int = 600, height:int = 200, saveAndClipboard:Boolean = true, transparentOnHide:Boolean = false)

Constructor.

Parameters
width: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.
Method Detail
hide()method
public function hide():void

Hide the console, leaving only the title bar visible.

show()method 
public function show():void

Hide the console, leaving only the title bar visible.

Constant Detail
MINIMUM_HEIGHTConstant
protected const MINIMUM_HEIGHT:int = 200

Minimum Height of the console.

MINIMUM_WIDTHConstant 
protected const MINIMUM_WIDTH:int = 450

Minimum Width of the console.