|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
flash.events.EventDispatcher
flash.display.DisplayObject
flash.display.InteractiveObject
flash.display.DisplayObjectContainer
public class DisplayObjectContainer
Implementation of flash.display.DisplayObjectContainer
| Field Summary |
|---|
| Fields inherited from class flash.display.InteractiveObject |
|---|
CLICK, DOUBLECLICK, FOCUSIN, FOCUSOUT, KEYDOWN, KEYFOCUSCHANGE, KEYUP, MOUSEDOWN, MOUSEFOCUSCHANGE, MOUSEMOVE, MOUSEOUT, MOUSEOVER, MOUSEUP, MOUSEWHEEL, ROLLOUT, ROLLOVER, TABCENABLEDCHANGE, TABCHILDRENCHANGE, TABINDEXCHANGE |
| 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 |
DisplayObjectContainer()
|
| Method Summary | |
|---|---|
DisplayObject |
addChild(DisplayObject child)
Adds a child DisplayObject instance to this DisplayObjectContainer instance. |
DisplayObject |
addChildAt(DisplayObject child,
int index)
Adds a child DisplayObject instance to this DisplayObjectContainer instance. |
boolean |
areInaccessibleObjectsUnderPoint(Point point)
Indicates whether the security restrictions would cause any display objects to be omitted from the list returned by calling the DisplayObjectContainer.getObjectsUnderPoint() method with the specified point point. |
boolean |
contains(DisplayObject child)
Determines whether the specified display object is a child of the DisplayObjectContainer instance or the instance itself. |
DisplayObject |
getChildAt(int index)
Returns the child display object instance that exists at the specified index. |
DisplayObject |
getChildByName(String name)
Returns the child display object that exists with the specified name. |
int |
getChildIndex(DisplayObject child)
Returns the index position of a child DisplayObject instance. |
int |
getNumChildren()
Returns the number of children of this object. |
com.google.gwt.core.client.JsArray<DisplayObject> |
getObjectsUnderPoint(Point point)
Returns an array of objects that lie under the specified point and are children (or grandchildren, and so on) of this DisplayObjectContainer instance. |
boolean |
isMouseChildren()
Determines whether or not the children of the object are mouse enabled. |
boolean |
isTabChildren()
Determines whether the children of the object are tab enabled. |
DisplayObject |
removeChild(DisplayObject child)
Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance. |
DisplayObject |
removeChildAt(int index)
Removes a child DisplayObject from the specified index position in the child list of the DisplayObjectContainer. |
void |
setChildIndex(DisplayObject child,
int index)
Changes the position of an existing child in the display object container. |
void |
setMouseChildren(boolean enabled)
|
void |
setTabChildren(boolean enabled)
|
void |
swapChildren(DisplayObject child1,
DisplayObject child2)
Swaps the z-order (front-to-back order) of the two specified child objects. |
void |
swapChildrenAt(int index1,
int index2)
Swaps the z-order (front-to-back order) of the child objects at the two specified index positions in the child list. |
| Methods inherited from class flash.display.InteractiveObject |
|---|
getDoubleClickEnabled, getMouseEnabled, getTabEnabled, getTabIndex, setMouseEnabled, setTabEnabled, setTabIndex |
| 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 |
| Constructor Detail |
|---|
protected DisplayObjectContainer()
| Method Detail |
|---|
public final boolean isMouseChildren()
public final void setMouseChildren(boolean enabled)
public final void setTabChildren(boolean enabled)
public final int getNumChildren()
public final boolean isTabChildren()
public final DisplayObject addChild(DisplayObject child)
public final DisplayObject addChildAt(DisplayObject child,
int index)
public final boolean areInaccessibleObjectsUnderPoint(Point point)
point -
public final boolean contains(DisplayObject child)
child -
public final DisplayObject getChildAt(int index)
index -
public final DisplayObject getChildByName(String name)
name -
public final int getChildIndex(DisplayObject child)
child -
public final com.google.gwt.core.client.JsArray<DisplayObject> getObjectsUnderPoint(Point point)
point -
public final DisplayObject removeChild(DisplayObject child)
child -
public final DisplayObject removeChildAt(int index)
index -
public final void setChildIndex(DisplayObject child,
int index)
child - index -
public final void swapChildren(DisplayObject child1,
DisplayObject child2)
public final void swapChildrenAt(int index1,
int index2)
index1 - index2 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||