| Package | Description |
|---|---|
| flash.display | |
| playn.flash |
| Modifier and Type | Class and Description |
|---|---|
class |
Bitmap |
class |
DisplayObjectContainer
Implementation of
flash.display.DisplayObjectContainer
|
class |
InteractiveObject
Implementation of
flash.display.InteractiveObject
|
class |
Shape |
class |
Sprite |
class |
Stage |
| Modifier and Type | Method and Description |
|---|---|
DisplayObject |
DisplayObjectContainer.addChild(DisplayObject child)
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
|
DisplayObject |
DisplayObjectContainer.addChildAt(DisplayObject child,
int index)
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
|
DisplayObject |
DisplayObjectContainer.getChildAt(int index)
Returns the child display object instance that exists at the specified index.
|
DisplayObject |
DisplayObjectContainer.getChildByName(String name)
Returns the child display object that exists with the specified name.
|
DisplayObject |
Sprite.getDropTarget()
Specifies the display object over which the sprite is being dragged, or
on which the sprite was dropped.
|
DisplayObject |
DisplayObject.getMask()
The calling display object is masked by the specified mask object.
|
DisplayObject |
DisplayObject.getRoot()
For a display object in a loaded SWF file, the root property is the
top-most display object in the portion of the display list's tree structure
e represented by that SWF file.
|
DisplayObject |
DisplayObjectContainer.removeChild(DisplayObject child)
Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance.
|
DisplayObject |
DisplayObjectContainer.removeChildAt(int index)
Removes a child DisplayObject from the specified index position in the
child list of the DisplayObjectContainer.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.gwt.core.client.JsArray<DisplayObject> |
DisplayObjectContainer.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.
|
| Modifier and Type | Method and Description |
|---|---|
DisplayObject |
DisplayObjectContainer.addChild(DisplayObject child)
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
|
DisplayObject |
DisplayObjectContainer.addChildAt(DisplayObject child,
int index)
Adds a child DisplayObject instance to this DisplayObjectContainer instance.
|
boolean |
DisplayObjectContainer.contains(DisplayObject child)
Determines whether the specified display object is a child of the
DisplayObjectContainer instance or the instance itself.
|
Rectangle |
DisplayObject.getBounds(DisplayObject targetCoordinateSpace)
Returns a rectangle that defines the area of the display object relative
to the coordinate system of the targetCoordinateSpace object.
|
int |
DisplayObjectContainer.getChildIndex(DisplayObject child)
Returns the index position of a child DisplayObject instance.
|
Rectangle |
DisplayObject.getRect(DisplayObject targetCoordinateSpace)
Returns a rectangle that defines the boundary of the display object, based
on the coordinate system defined by the targetCoordinateSpace parameter, excluding any strokes on shapes.
|
boolean |
DisplayObject.hitTestObject(DisplayObject obj)
Evaluates the display object to see if it overlaps or intersects with
the obj display object.
|
DisplayObject |
DisplayObjectContainer.removeChild(DisplayObject child)
Removes the specified child DisplayObject instance from the child list of the DisplayObjectContainer instance.
|
void |
DisplayObjectContainer.setChildIndex(DisplayObject child,
int index)
Changes the position of an existing child in the display object container.
|
void |
DisplayObject.setMask(DisplayObject mask) |
void |
DisplayObjectContainer.swapChildren(DisplayObject child1,
DisplayObject child2)
Swaps the z-order (front-to-back order) of the two specified child objects.
|
| Modifier and Type | Field and Description |
|---|---|
protected DisplayObject |
FlashLayer.displayObject |
| Constructor and Description |
|---|
FlashLayer(DisplayObject displayObject) |
Copyright © 2013. All Rights Reserved.