| Package | qnx.events |
| Class | public class DisplayEvent |
| Inheritance | DisplayEvent flash.events.Event |
DisplayEvent class contains events that are associated with displays.
See also
| Property | Defined By | ||
|---|---|---|---|
| index : int
An int representing the index of the display in the array of screens. | DisplayEvent | ||
| Method | Defined By | ||
|---|---|---|---|
DisplayEvent(type:String, _index:int)
Creates a DisplayEvent instance. | DisplayEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| DISPLAY_ATTACHED : String = displayAttached [static]
Dispatched when a new display is attached to the system. | DisplayEvent | ||
| DISPLAY_REMOVED : String = displayRemoved [static]
Dispatched when a new display is removed from the system. | DisplayEvent | ||
| MODE_CHANGED : String = modeChanged [static]
Dispatched when the display mode of a display changes. | DisplayEvent | ||
| index | property |
public var index:intAn int representing the index of the display in the array of screens.
| DisplayEvent | () | Constructor |
public function DisplayEvent(type:String, _index:int)
Creates a DisplayEvent instance.
type:String — The event type. One of DISPLAY_ATTACHED, DISPLAY_REMOVED, MODE_CHANGED.
| |
_index:int — The index of the display.
|
| DISPLAY_ATTACHED | Constant |
public static const DISPLAY_ATTACHED:String = displayAttachedDispatched when a new display is attached to the system.
| DISPLAY_REMOVED | Constant |
public static const DISPLAY_REMOVED:String = displayRemovedDispatched when a new display is removed from the system.
| MODE_CHANGED | Constant |
public static const MODE_CHANGED:String = modeChangedDispatched when the display mode of a display changes.