| Package | com.alexomara.ane.AIRControl.events |
| Class | public class AIRControlControllerEvent |
| Inheritance | AIRControlControllerEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| controller : AIRControlController [read-only]
The controller with the element that dispatched the event. | AIRControlControllerEvent | ||
| element : AIRControlControllerElement [read-only]
The element that dispatched the event. | AIRControlControllerEvent | ||
| elementIndex : uint [read-only]
The index of the element that dispatched the event. | AIRControlControllerEvent | ||
| Method | Defined By | ||
|---|---|---|---|
AIRControlControllerEvent(type:String, controller:AIRControlController, element:AIRControlControllerElement, elementIndex:uint)
Creates a new AIRControlControllerEvent object. | AIRControlControllerEvent | ||
clone():Event [override]
Creates a new AIRControlControllerEvent object with all the original properties. | AIRControlControllerEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| AXIS_CHANGE : String = AIRControlControllerEvent.axisChange [static]
Dispatched on axis state change. | AIRControlControllerEvent | ||
| BUTTON_CHANGE : String = AIRControlControllerEvent.buttonChange [static]
Dispatched on button state change. | AIRControlControllerEvent | ||
| POV_CHANGE : String = AIRControlControllerEvent.povChange [static]
Dispatched on POV hat switch state change. | AIRControlControllerEvent | ||
| controller | property |
controller:AIRControlController [read-only] The controller with the element that dispatched the event.
public function get controller():AIRControlController| element | property |
element:AIRControlControllerElement [read-only] The element that dispatched the event.
public function get element():AIRControlControllerElement| elementIndex | property |
elementIndex:uint [read-only] The index of the element that dispatched the event.
public function get elementIndex():uint| AIRControlControllerEvent | () | Constructor |
public function AIRControlControllerEvent(type:String, controller:AIRControlController, element:AIRControlControllerElement, elementIndex:uint)Creates a new AIRControlControllerEvent object.
Parameterstype:String — The type of event being dispatched.
| |
controller:AIRControlController — The controller with the element that dispatched the event.
| |
element:AIRControlControllerElement — The element that dispatched the event.
| |
elementIndex:uint — The index of the element that dispatched the event.
|
| clone | () | method |
override public function clone():EventCreates a new AIRControlControllerEvent object with all the original properties.
ReturnsEvent — An exact duplicate of the current event.
|
| AXIS_CHANGE | Constant |
public static const AXIS_CHANGE:String = AIRControlControllerEvent.axisChangeDispatched on axis state change.
| BUTTON_CHANGE | Constant |
public static const BUTTON_CHANGE:String = AIRControlControllerEvent.buttonChangeDispatched on button state change.
| POV_CHANGE | Constant |
public static const POV_CHANGE:String = AIRControlControllerEvent.povChangeDispatched on POV hat switch state change.