public class Page extends DisplayGroup implements Pageable, Animator.AnimatorListener
Pageable.TransitionListener
Modifier and Type | Field and Description |
---|---|
protected boolean |
mPageActive |
protected boolean |
mPageFloating |
protected MoveAnimator |
mTransitionAnimator |
protected Pageable.TransitionListener |
mTransitionListener |
protected static int |
TRANSITION_DURATION |
ATT_CACHE_ENABLED, ATT_CLIPPING_ENABLED, ATT_TOUCHABLE, mCacheDrawer, mCacheEnabled, mCacheFrameBuffer, mCachePolicy, mCacheProjection, mChildren, mChildrenDisplayOrder, mChildrenIds, mClippingEnabled, mClipStageRect, mNumChildren, mOriginalScissor, mOriginalScissorEnabled, mTouchable, mVisibleTouchables, mWrapContentHeight, mWrapContentWidth
ATT_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, TAG
FLIP_X, FLIP_Y
ALL, 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
CACHE_WHEN_CHILDREN_CHANGED, CACHE_WHEN_CHILDREN_STABLE
Constructor and Description |
---|
Page() |
Modifier and Type | Method and Description |
---|---|
Pageable.TransitionListener |
getTransitionListener()
For internal use only!
|
boolean |
isPageActive() |
boolean |
isPageFloating() |
void |
onAnimationEnd(Animator animator) |
void |
onAnimationUpdate(Animator animator,
float value) |
void |
setPageFloating(boolean pageFloating) |
void |
setTransitionListener(Pageable.TransitionListener listener)
For internal use only!
|
void |
transitionIn(boolean pushing) |
void |
transitionOut(boolean pushing) |
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, swapChildren, swapChildren, updateChildren
addManipulator, 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, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
draw, isPerspectiveEnabled, onAdded, onCreateChildren, setPerspectiveEnabled, setXMLAttributes
addManipulator, dispose, getAlpha, getBlendFunc, getBounds, getColor, getFps, getId, getInheritedBlendFunc, getInheritedColor, getManipulator, getNumManipulators, getObjectTree, getOrigin, getParent, getPivot, getScene, getSkew, getZ, globalToLocal, invalidate, invalidate, isAlive, isAutoUpdateBounds, isVisible, localToGlobal, onAddedToScene, onRemoved, onRemovedFromScene, queueEvent, removeAllManipulators, removeFromParent, removeManipulator, setAlive, setAlpha, setAutoUpdateBounds, setBlendFunc, setColor, setFps, setId, setOrigin, setOrigin, setOriginAtCenter, setPivot, setPivot, setPivotAtCenter, setSkew, setVisible, setZ, shouldDraw, update, updateBounds
getHeight, getPosition, getRotation, getScale, getSize, getWidth, getX, getY, move, moveTo, rotate, setPosition, setPosition, setRotation, setScale, setScale, setSize, setSize, setX, setY
getMatrix, getScene, getSize, globalToLocal, invalidate, invalidate, localToGlobal, queueEvent
protected static final int TRANSITION_DURATION
protected MoveAnimator mTransitionAnimator
protected Pageable.TransitionListener mTransitionListener
protected boolean mPageActive
protected boolean mPageFloating
public boolean isPageFloating()
isPageFloating
in interface Pageable
public void setPageFloating(boolean pageFloating)
setPageFloating
in interface Pageable
public void transitionIn(boolean pushing)
transitionIn
in interface Pageable
public void transitionOut(boolean pushing)
transitionOut
in interface Pageable
public void setTransitionListener(Pageable.TransitionListener listener)
setTransitionListener
in interface Pageable
public Pageable.TransitionListener getTransitionListener()
getTransitionListener
in interface Pageable
public boolean isPageActive()
isPageActive
in interface Pageable
public void onAnimationEnd(Animator animator)
onAnimationEnd
in interface Animator.AnimatorListener
public void onAnimationUpdate(Animator animator, float value)
onAnimationUpdate
in interface Animator.AnimatorListener