API Documentation | All Packages | All Classes | Index | Frames No Frames |
Class TraceEvent

Package | org.openscales.core.events
Class | public class TraceEvent
Inheritance | TraceEvent OpenScalesEvent flash.events.Event

Event related to trace messages. These messages will be for example displayed in the TraceInfo control (openscales-fx).

Public Properties

| Property | Defined by
--- | --- | ---
|  | text : String | TraceEvent

Public Methods

| Method | Defined by
--- | --- | ---
|  | TraceEvent(type:String, text:String, bubbles:Boolean = false, cancelable:Boolean = false) | TraceEvent

Public Constants

| Constant | Defined by
--- | --- | ---
|  | DEBUG : String = "openscales.debug" [static] Event type dispatched for a DEBUG level trace. | TraceEvent
|  | ERROR : String = "openscales.error" [static] Event type dispatched for an ERROR level trace. | TraceEvent
|  | INFO : String = "openscales.info" [static] Event type dispatched for an INFO level trace. | TraceEvent
|  | LOG : String = "openscales.log" [static] Event type dispatched for an LOG level trace. | TraceEvent
|  | WARNING : String = "openscales.warning" [static] Event type dispatched for a WARNING level trace. | TraceEvent

Property detail

text | property

`text:String` [read-write]Implementation
`public function get text():String`
`public function set text(value:String):void`
Constructor detail

TraceEvent | () | constructor

`public function TraceEvent(type:String, text:String, bubbles:Boolean = false, cancelable:Boolean = false)`Parameters

| `type:String`
| `text:String`
| `bubbles:Boolean` (default = `false`)``
| `cancelable:Boolean` (default = `false`)``

Constant detail

DEBUG | constant

`public static const DEBUG:String = "openscales.debug"`

Event type dispatched for a DEBUG level trace.

ERROR | constant |

`public static const ERROR:String = "openscales.error"`

Event type dispatched for an ERROR level trace.

INFO | constant |

`public static const INFO:String = "openscales.info"`

Event type dispatched for an INFO level trace.

LOG | constant |

`public static const LOG:String = "openscales.log"`

Event type dispatched for an LOG level trace.

WARNING | constant |

`public static const WARNING:String = "openscales.warning"`

Event type dispatched for a WARNING level trace.