Packagecom.ghostwire.ui.events
Classpublic class uiEvent
InheritanceuiEvent Inheritance flash.events.Event

The uiEvent class represents the event object passed to the event listener for certain uiComponent events.

~ This class is available in Aspire UI Components Lite Edition ~



Public Methods
 MethodDefined by
  
uiEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new uiEvent object of the specified event type.
uiEvent
Public Constants
 ConstantDefined by
  HIDE : String = "hide"
[static] Dispatched when the component is explicitly hidden via the setVisible() method.
uiEvent
  SHOW : String = "show"
[static] Dispatched when the component is explicitly set visible via the setVisible() method.
uiEvent
Constructor detail
uiEvent()constructor
public function uiEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a new uiEvent object of the specified event type.

Parameters
type:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Constant detail
HIDEconstant
public static const HIDE:String = "hide"

Dispatched when the component is explicitly hidden via the setVisible() method.

This event has the following properties:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
currentTargetThe object that is actively processing the event object with an event listener.
targetThe object that dispatched the event. The target is not always the object listening for the event. Use the currentTarget property to access the object that is listening for the event.
SHOWconstant 
public static const SHOW:String = "show"

Dispatched when the component is explicitly set visible via the setVisible() method.

This event has the following properties:

PropertyValue
bubblesfalse
cancelablefalse; there is no default behavior to cancel.
currentTargetThe object that is actively processing the event object with an event listener.
targetThe object that dispatched the event. The target is not always the object listening for the event. Use the currentTarget property to access the object that is listening for the event.