TransitionDefaultpublic class TransitionGroup extends Transition
TransitionZoomingMove.| 限定符和类型 | 类 | 说明 |
|---|---|---|
static class |
TransitionGroup.Sequence |
const of sequence
|
| 构造器 | 说明 |
|---|---|
TransitionGroup() |
Default constructor used to create a
TransitionGroup instance. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
addTransition(Transition transition) |
Adds a transition effect.
|
void |
precludeElement(int id,
boolean preclude) |
Precludes a component or restores a precluded component.
|
void |
removeTransition(Transition transition) |
Removes a transition effect.
|
void |
setSequence(int sequence) |
Sets the playback sequence of the transition effects in this transition group.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetCurve, setCurveType, setDuration, setDurationpublic TransitionGroup()
TransitionGroup instance.public void setSequence(int sequence)
sequence - Indicates the playback sequence to set. The value 0 means that the transition
effects are played simultaneously, and 1 means that they are played sequentially.public void addTransition(Transition transition)
transition - Indicates the transition effect to add.public void removeTransition(Transition transition)
transition - Indicates the transition effect to remove.public void precludeElement(int id,
boolean preclude)
id - Indicates the component ID.preclude - Specifies whether to preclude or restore the component. The value
true means to preclude the component, and false means to restore the component.