flash.display
Class InteractiveObject

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by flash.events.EventDispatcher
          extended by flash.display.DisplayObject
              extended by flash.display.InteractiveObject
Direct Known Subclasses:
DisplayObjectContainer

public class InteractiveObject
extends DisplayObject

Implementation of flash.display.InteractiveObject


Field Summary
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.
 
Fields inherited from class flash.display.DisplayObject
ADDED, ADDED_TO_STAGE, ENTERFRAME, REMOVED, REMOVED_FROM_STAGE, RENDER
 
Fields inherited from class flash.events.EventDispatcher
ACTIVATE, DEACTIVATE
 
Constructor Summary
protected InteractiveObject()
           
 
Method Summary
 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)
           
 
Methods inherited from class flash.display.DisplayObject
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, visible
 
Methods inherited from class flash.events.EventDispatcher
addEventListener, create, dispatchEvent, hasEventListener, removeEventListener, willTrigger
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CLICK

public static final EventType CLICK
Dispatched when a user presses and releases the main button of the user's pointing device over the same InteractiveObject.


DOUBLECLICK

public static final 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.


FOCUSIN

public static final EventType FOCUSIN
Dispatched after a display object gains focus.


FOCUSOUT

public static final EventType FOCUSOUT
Dispatched after a display object loses focus.


KEYDOWN

public static final EventType KEYDOWN
Dispatched when the user presses a key. InteractiveObject


KEYFOCUSCHANGE

public static final EventType KEYFOCUSCHANGE
Dispatched when the user presses a key. InteractiveObject


KEYUP

public static final EventType KEYUP
Dispatched when the user releases a key.


MOUSEDOWN

public static final EventType MOUSEDOWN
Dispatched when a user presses the pointing device button over an InteractiveObject instance.


MOUSEFOCUSCHANGE

public static final EventType MOUSEFOCUSCHANGE
Dispatched when the user attempts to change focus by using a pointer device.


MOUSEMOVE

public static final EventType MOUSEMOVE

MOUSEOUT

public static final EventType MOUSEOUT
Dispatched when the user moves a pointing device away from an InteractiveObject instance.


MOUSEOVER

public static final EventType MOUSEOVER
Dispatched when the user moves a pointing device over an InteractiveObject instance.


MOUSEUP

public static final EventType MOUSEUP
Dispatched when a user releases the pointing device button over an InteractiveObject instance.


MOUSEWHEEL

public static final EventType MOUSEWHEEL
Dispatched when a user releases the pointing device button over an InteractiveObject instance.


ROLLOUT

public static final EventType ROLLOUT
Dispatched when the user moves a pointing device away from an InteractiveObject instance.


ROLLOVER

public static final EventType ROLLOVER
Dispatched when the user moves a pointing device over an InteractiveObject instance.


TABCHILDRENCHANGE

public static final EventType TABCHILDRENCHANGE
Dispatched when the value of the object's tabChildren flag changes.


TABCENABLEDCHANGE

public static final EventType TABCENABLEDCHANGE
Dispatched when the object's tabEnabled flag changes.


TABINDEXCHANGE

public static final EventType TABINDEXCHANGE
Dispatched when the value of the object's tabIndex property changes.

Constructor Detail

InteractiveObject

protected InteractiveObject()
Method Detail

getDoubleClickEnabled

public final boolean getDoubleClickEnabled()
Specifies whether the object receives doubleClick events.


getMouseEnabled

public final boolean getMouseEnabled()
Specifies whether this object receives mouse messages.


getTabEnabled

public final boolean getTabEnabled()
Specifies whether this object is in the tab order.

Returns:

getTabIndex

public final int getTabIndex()
Specifies the tab ordering of objects in a SWF file.

Returns:

setMouseEnabled

public final void setMouseEnabled(boolean enabled)

setTabEnabled

public final void setTabEnabled(boolean enabled)

setTabIndex

public final void setTabIndex(int tabIndex)


Copyright © 2012. All Rights Reserved.