Package | com.ghostwire.ui.events |
Class | public class uiEvent |
Inheritance | uiEvent ![]() |
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 ~
Method | Defined by | ||
---|---|---|---|
uiEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new
uiEvent object of the specified event type . | uiEvent |
Constant | Defined 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 |
uiEvent | () | constructor |
public function uiEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new uiEvent
object of the specified event type
.
type:String |
|
bubbles:Boolean (default = false )
|
|
cancelable:Boolean (default = false )
|
HIDE | constant |
public static const HIDE:String = "hide"
Dispatched when the component is explicitly hidden via the setVisible()
method.
This event has the following properties:
Property | Value |
---|---|
bubbles | false |
cancelable | false ; there is no default behavior to cancel. |
currentTarget | The object that is actively processing the event object with an event listener. |
target | The 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. |
SHOW | constant |
public static const SHOW:String = "show"
Dispatched when the component is explicitly set visible via the setVisible()
method.
This event has the following properties:
Property | Value |
---|---|
bubbles | false |
cancelable | false ; there is no default behavior to cancel. |
currentTarget | The object that is actively processing the event object with an event listener. |
target | The 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. |