public class TransitionZoomingMove extends Transition
| 构造器 | 说明 |
|---|---|
TransitionZoomingMove() |
Default constructor used to create a
TransitionZoomingMove instance. |
TransitionZoomingMove(int moveType) |
A constructor used to create a
TransitionZoomingMove instance that specifies the fast moving
effect for a transformation. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
setDuration(float duration) |
已过时。
This change is effective since API version 8. This method is deprecated because the
duration
parameter is an integer and does not need to be represented by a floating point number.
Replaced by setDuration(long). |
void |
setDuration(long duration) |
Sets the duration for this animation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetCurve, setCurveTypepublic TransitionZoomingMove()
TransitionZoomingMove instance.public TransitionZoomingMove(int moveType)
TransitionZoomingMove instance that specifies the fast moving
effect for a transformation.moveType - Indicates the fast moving effect, which can be TransitionMove.LEFT,
TransitionMove.RIGHT,TransitionMove.TOP, or TransitionMove.BOTTOM.@Deprecated public void setDuration(float duration)
duration
parameter is an integer and does not need to be represented by a floating point number.
Replaced by setDuration(long).setDuration 在类中 Transitionduration - Indicates the duration, in milliseconds.public void setDuration(long duration)
setDuration 在类中 Transitionduration - Indicates the duration, in milliseconds.