Packagecom.theriabook.util
Classpublic class XPanelTarget
InheritanceXPanelTarget Inheritance mx.logging.AbstractTarget
Implementsflash.events.IEventDispatcher



Public Properties
 PropertyDefined by
  fieldSeparator : String = " "
The separator string to use between fields (the default is " ")
XPanelTarget
  fieldSeparator : String = " "
XPanelTarget
  includeCategory : Boolean = false
Indicates if the category for this target should added to the trace.
XPanelTarget
  includeCategory : Boolean = false
XPanelTarget
Public Methods
 MethodDefined by
  
XPanelTarget
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
XPanelTarget
  
dispatchEvent(evt:Event):Boolean
XPanelTarget
  
hasEventListener(type:String):Boolean
XPanelTarget
  
logEvent(event:LogEvent):void
This method handles a LogEvent from an associated logger.
XPanelTarget
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
XPanelTarget
  
willTrigger(type:String):Boolean
XPanelTarget
Events
 EventSummaryDefined by
    XPanelTarget
Public Constants
 ConstantDefined by
  FAULT : String = "fault"
[static]
XPanelTarget
Property detail
fieldSeparatorproperty
public var fieldSeparator:String = " "

The separator string to use between fields (the default is " ")

fieldSeparatorproperty 
public var fieldSeparator:String = " "
includeCategoryproperty 
public var includeCategory:Boolean = false

Indicates if the category for this target should added to the trace.

includeCategoryproperty 
public var includeCategory:Boolean = false
Constructor detail
XPanelTarget()constructor
public function XPanelTarget()
Method detail
addEventListener()method
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):voidParameters
type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
useWeakReference:Boolean (default = false)
dispatchEvent()method 
public function dispatchEvent(evt:Event):BooleanParameters
evt:Event

Returns
Boolean
hasEventListener()method 
public function hasEventListener(type:String):BooleanParameters
type:String

Returns
Boolean
logEvent()method 
public override function logEvent(event:LogEvent):void

This method handles a LogEvent from an associated logger. A target uses this method to translate the event into the appropriate format for transmission, storage, or display. This method will be called only if the event's level is in range of the target's level. Descendants need to override this method to make it useful.

Parameters
event:LogEvent
removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):voidParameters
type:String
 
listener:Function
 
useCapture:Boolean (default = false)
willTrigger()method 
public function willTrigger(type:String):BooleanParameters
type:String

Returns
Boolean
Event detail
faultevent 
Event object type: flash.events.Event

Constant detail
FAULTconstant
public static const FAULT:String = "fault"