Packagecom.ghostwire.ui.events
Classpublic class uiInteractiveItemEvent
InheritanceuiInteractiveItemEvent Inheritance flash.events.Event

The uiInteractiveItemEvent class defines events that are dispatched due to user interactions with list or menu items (uiInteractiveItem objects).

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



Public Properties
 PropertyDefined by
  item : Object
[read-only] Indicates the data object (item) associated with this event.
uiInteractiveItemEvent
  mouseEvent : MouseEvent
[read-only] Indicates the MouseEvent that triggered this event.
uiInteractiveItemEvent
Public Methods
 MethodDefined by
  
uiInteractiveItemEvent(type:String, item:Object, mouseEvent:MouseEvent)
Creates a new uiInteractiveItemEvent object with the specified parameters.
uiInteractiveItemEvent
Public Constants
 ConstantDefined by
  INTERACTION : String = "interaction"
[static] Dispatched when the user interacts with an uiInteractiveItem.
uiInteractiveItemEvent
Property detail
itemproperty
item:Object  [read-only]

Indicates the data object (item) associated with this event.

Implementation
    public function get item():Object
mouseEventproperty 
mouseEvent:MouseEvent  [read-only]

Indicates the MouseEvent that triggered this event.

Implementation
    public function get mouseEvent():MouseEvent
Constructor detail
uiInteractiveItemEvent()constructor
public function uiInteractiveItemEvent(type:String, item:Object, mouseEvent:MouseEvent)

Creates a new uiInteractiveItemEvent object with the specified parameters.

Parameters
type:String — The type of the event. Event listeners can access this information through the inherited type property.
 
item:Object — The data object associated with this event. This is the item that is interacted when the event is dispatched.
 
mouseEvent:MouseEvent — The MouseEvent event object that triggered this event.
Constant detail
INTERACTIONconstant
public static const INTERACTION:String = "interaction"

Dispatched when the user interacts with an uiInteractiveItem.

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.
itemA data object representing the interactive item.
mouseEventThe MouseEvent event object that triggered this event.