public class AnimatorVectorParser extends AnimatorGroup
Animator.CurveType, Animator.LoopedListener, Animator.StateChangedListener, Animator.TimelineCurveAnimatorGroup.BuilderINFINITE, mLoopedListener, mPauseListener, mStartListenermBuilder| 限定符和类型 | 方法 | 说明 |
|---|---|---|
HashMap<Animator,String> |
getAnimatorMap() |
Get AnimatorVector HashMap
|
static AnimatorVectorParser |
getInstance(Context context) |
Obtains a singleton instance of
AnimatorVectorParser. |
float |
getRotation() |
Get the Rotation Value of the vector animator.
|
Component |
getTarget() |
Obtains the target Component of the current vector animator.
|
void |
parse(int xmlId) |
Get AnimatorVectors by parsing solid xml that described AnimatorVectors.
|
void |
setRotation(float rotation) |
Sets the Rotation Value of the vector animator.
|
void |
setTarget(Component component) |
Sets the target Component of the vector animator.
|
cancel, end, getCurveType, getDelay, getDuration, getLoopedCount, isPaused, isRunning, pause, release, resume, setCurveInternal, setCurveTypeInternal, setDelayInternal, setDurationInternal, setLoopedCountInternal, setLoopedListenerInternal, setPauseListenerInternal, setStartListenerInternal, start, stopbuild, clear, getAnimatorsAt, getRoundCount, runParallel, runSerially, setCurve, setCurveType, setDelay, setDuration, setLoopedCount, setLoopedListener, setStateChangedListenerpublic static AnimatorVectorParser getInstance(Context context)
AnimatorVectorParser.context - Specifies the Context to implement the vector animator.AnimatorVectorParser.public void setTarget(Component component)
component - Specifies the Component to implement the vector animator.public Component getTarget()
public void setRotation(float rotation)
rotation - Specifies the target tilt angle for plane rotation of an animator.public float getRotation()
public void parse(int xmlId)
xmlId - solid xml resource id that described AnimatorVector.