public class InteractiveObject extends DisplayObject
| Modifier and Type | Field and Description |
|---|---|
static EventType |
CLICK
Dispatched when a user presses and releases the main button of the
user's pointing device over the same InteractiveObject.
|
static EventType |
DOUBLECLICK
Dispatched when a user presses and releases the main button of a pointing
device twice in rapid succession over the same InteractiveObject when that
object's doubleClickEnabled flag is set to true.
|
static EventType |
FOCUSIN
Dispatched after a display object gains focus.
|
static EventType |
FOCUSOUT
Dispatched after a display object loses focus.
|
static EventType |
KEYDOWN
Dispatched when the user presses a key.
|
static EventType |
KEYFOCUSCHANGE
Dispatched when the user presses a key.
|
static EventType |
KEYUP
Dispatched when the user releases a key.
|
static EventType |
MOUSEDOWN
Dispatched when a user presses the pointing device button over an InteractiveObject instance.
|
static EventType |
MOUSEFOCUSCHANGE
Dispatched when the user attempts to change focus by using a pointer device.
|
static EventType |
MOUSEMOVE |
static EventType |
MOUSEOUT
Dispatched when the user moves a pointing device away from an InteractiveObject instance.
|
static EventType |
MOUSEOVER
Dispatched when the user moves a pointing device over an InteractiveObject instance.
|
static EventType |
MOUSEUP
Dispatched when a user releases the pointing device button over an InteractiveObject instance.
|
static EventType |
MOUSEWHEEL
Dispatched when a user releases the pointing device button over an InteractiveObject instance.
|
static EventType |
ROLLOUT
Dispatched when the user moves a pointing device away from an InteractiveObject instance.
|
static EventType |
ROLLOVER
Dispatched when the user moves a pointing device over an InteractiveObject instance.
|
static EventType |
TABCENABLEDCHANGE
Dispatched when the object's tabEnabled flag changes.
|
static EventType |
TABCHILDRENCHANGE
Dispatched when the value of the object's tabChildren flag changes.
|
static EventType |
TABINDEXCHANGE
Dispatched when the value of the object's tabIndex property changes.
|
ADDED, ADDED_TO_STAGE, ENTERFRAME, REMOVED, REMOVED_FROM_STAGE, RENDERACTIVATE, DEACTIVATE| Modifier | Constructor and Description |
|---|---|
protected |
InteractiveObject() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getDoubleClickEnabled()
Specifies whether the object receives doubleClick events.
|
boolean |
getMouseEnabled()
Specifies whether this object receives mouse messages.
|
boolean |
getTabEnabled()
Specifies whether this object is in the tab order.
|
int |
getTabIndex()
Specifies the tab ordering of objects in a SWF file.
|
void |
setMouseEnabled(boolean enabled) |
void |
setTabEnabled(boolean enabled) |
void |
setTabIndex(int tabIndex) |
getAlpha, getBlendMode, getBounds, getCacheAsBitmap, getFilters, getHeight, getLoaderInfo, getMask, getMouseX, getMouseY, getName, getParent, getRect, getRoot, getRotation, getScale9Grid, getScaleX, getScaleY, getScrollRect, getStage, getTransform, getWidth, getX, getY, globalToLocal, hitTestObject, hitTestPoint, localToGlobal, setAlpha, setBlendMode, setCacheAsBitmap, setFilters, setHeight, setMask, setName, setRotation, setScale9Grid, setScaleX, setScaleY, setScrollRect, setTransform, setTransform, setVisible, setWidth, setX, setY, visibleaddEventListener, create, dispatchEvent, hasEventListener, removeEventListener, willTriggerpublic static final EventType CLICK
public static final EventType DOUBLECLICK
public static final EventType FOCUSIN
public static final EventType FOCUSOUT
public static final EventType KEYDOWN
public static final EventType KEYFOCUSCHANGE
public static final EventType KEYUP
public static final EventType MOUSEDOWN
public static final EventType MOUSEFOCUSCHANGE
public static final EventType MOUSEMOVE
public static final EventType MOUSEOUT
public static final EventType MOUSEOVER
public static final EventType MOUSEUP
public static final EventType MOUSEWHEEL
public static final EventType ROLLOUT
public static final EventType ROLLOVER
public static final EventType TABCHILDRENCHANGE
public static final EventType TABCENABLEDCHANGE
public static final EventType TABINDEXCHANGE
public final boolean getDoubleClickEnabled()
public final boolean getMouseEnabled()
public final boolean getTabEnabled()
public final int getTabIndex()
public final void setMouseEnabled(boolean enabled)
public final void setTabEnabled(boolean enabled)
public final void setTabIndex(int tabIndex)
Copyright © 2013. All Rights Reserved.