public class GridGroup<T extends DisplayObject> extends DisplayGroup
| Modifier and Type | Field and Description |
|---|---|
protected Grid<T> |
mGrid |
protected PointF |
mTempPoint |
ATT_CACHE_ENABLED, ATT_CLIPPING_ENABLED, ATT_TOUCHABLE, mCacheDrawer, mCacheEnabled, mCacheFrameBuffer, mCachePolicy, mCacheProjection, mChildren, mChildrenDisplayOrder, mChildrenIds, mClippingEnabled, mClipStageRect, mNumChildren, mOriginalScissor, mOriginalScissorEnabled, mTouchable, mVisibleTouchables, mWrapContentHeight, mWrapContentWidthATT_ALPHA, ATT_ANIMATOR, ATT_BLEND_MODE, ATT_COLOR, ATT_DEBUG, ATT_ORIGIN_AT_CENTER, ATT_ROTATION, ATT_VISIBLE, mAlive, mAlpha, mAlphaTestEnabled, mAutoUpdateBounds, mBlendFunc, mBounds, mBypassCameraClipping, mColor, mDebugFlags, mFrameDuration, mHasTransformValues, mId, mInvalidateFlags, mManipulators, mMask, mMatrix, mNumManipulators, mOrigin, mParent, mPerspectiveEnabled, mPivot, mPosition, mRotation, mRotationVectorX, mRotationVectorY, mRotationVectorZ, mScale, mScene, mSceneSize, mSize, mSkew, mTransformMatrix, mTransformMatrixValues, mUIConstraint, mVisible, mZ, TAGCACHE_WHEN_CHILDREN_CHANGED, CACHE_WHEN_CHILDREN_STABLEFLIP_X, FLIP_YALL, ALPHA, BLEND, BOUNDS, CACHE, CHILDREN, COLOR, DEPTH, FRAME, ORIGIN, PARENT, PARENT_BOUNDS, PERSPECTIVE, PIVOT, POSITION, ROTATION, SCALE, SIZE, SKEW, TEXTURE, TEXTURE_COORDS, TRANSFORM_MATRIX, VERTICES, VISIBILITY, VISUAL| Modifier and Type | Method and Description |
|---|---|
void |
addChildAt(T child,
int cellX,
int cellY) |
void |
addChildAt(T child,
int cellX,
int cellY,
boolean updatePosition) |
T |
getChildAt(int cellX,
int cellY) |
Grid<T> |
getGrid() |
void |
removeChildAt(int cellX,
int cellY) |
void |
removeChildAt(Point cell) |
void |
setChildAt(T child,
int cellX,
int cellY,
boolean updatePosition) |
void |
setChildAt(T child,
Point cell,
boolean updatePosition) |
protected void |
setGrid(Grid<T> grid) |
void |
swapChildren(Point cell1,
Point cell2) |
void |
swapChildren(Point cell1,
Point cell2,
boolean updatePosition) |
addChild, addChild, clearCache, dispose, draw, drawChildren, getCachePolicy, getCacheProjection, getChildAt, getChildById, getChildIndex, getNumChildren, getNumGrandChildren, getObjectTree, initCache, isCacheEnabled, isChildInBounds, isClippingEnabled, isTouchable, isWrapContenHeight, isWrapContentWidth, onAddedChild, onAddedToScene, onRemovedChild, onRemovedFromScene, onTouchEvent, removeAllChildren, removeChild, removeChild, sendChildToBottom, sendChildToTop, setCacheEnabled, setCachePolicy, setCacheProjection, setChildrenDisplayOrder, setClippingEnabled, setTouchable, setWrapContentHeight, setWrapContentWidth, setXMLAttributes, updateChildrenaddManipulator, drawBounds, drawEnd, drawStart, drawWireframe, getAlpha, getBlendFunc, getBounds, getColor, getDebugFlags, getFps, getGlobalPosition, getHeight, getId, getInheritedBlendFunc, getInheritedColor, getManipulator, getMask, getMatrix, getNumManipulators, getOrigin, getParent, getParentMatrix, getPivot, getPosition, getRotation, getScale, getScene, getSceneSize, getSize, getSkew, getUIConstraint, getWidth, getX, getY, getZ, globalToLocal, invalidate, invalidate, isAlive, isAlphaTestEnabled, isAutoUpdateBounds, isBypassCameraClipping, isOriginAtCenter, isPerspectiveEnabled, isVisible, localToGlobal, move, moveTo, onAdded, onCreateChildren, onPreConcatParentMatrix, onRemoved, queueEvent, removeAllManipulators, removeFromParent, removeManipulator, rotate, setAlive, setAlpha, setAlphaTestEnabled, setAutoUpdateBounds, setBlendFunc, setBypassCameraClipping, setColor, setDebugFlags, setFps, setId, setMask, setOrigin, setOrigin, setOriginAtCenter, setPerspectiveEnabled, setPivot, setPivot, setPivotAtCenter, setPosition, setPosition, setRotation, setRotationVector, setScale, setScale, setSize, setSize, setSkew, setUIConstraint, setVisible, setX, setY, setZ, shouldDraw, toString, update, updateBounds, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMatrix, getScene, getSize, globalToLocal, invalidate, invalidate, localToGlobal, queueEventprotected Grid<T extends DisplayObject> mGrid
protected PointF mTempPoint
public void addChildAt(T child, int cellX, int cellY)
public void addChildAt(T child, int cellX, int cellY, boolean updatePosition)
public T getChildAt(int cellX, int cellY)
public void setChildAt(T child, int cellX, int cellY, boolean updatePosition)
public void setChildAt(T child, Point cell, boolean updatePosition)
public void swapChildren(Point cell1,
Point cell2,
boolean updatePosition)
public void swapChildren(Point cell1,
Point cell2)
public void removeChildAt(int cellX,
int cellY)
public void removeChildAt(Point cell)