public class Transitions extends Object implements IsTransitions
| Modifier and Type | Method and Description |
|---|---|
AnimationTransition |
create(TransitionKey transition)
Creates an animation transition instance and stores in the the animation options.
|
AnimationTransition |
get(TransitionKey transition)
Returns an animation transition instance if stored in the the animation options.
|
boolean |
has(TransitionKey transition)
Returns
true if an animation transition instance is stored in the the animation options. |
void |
remove(TransitionKey transition)
Removes an animation transition previously added.
|
void |
set(TransitionKey transition,
AnimationTransition animationTransition)
Sets an animation transition instance to store in the animation options.
|
public boolean has(TransitionKey transition)
true if an animation transition instance is stored in the the animation options.has in interface IsDefaultTransitionstransition - transition instance used to check in the animation optionstrue if an animation transition instance is stored in the the animation optionspublic AnimationTransition get(TransitionKey transition)
get in interface IsDefaultTransitionsget in interface IsTransitionstransition - transition instance used to get for animation optionsnull if does not existspublic void set(TransitionKey transition, AnimationTransition animationTransition)
set in interface IsTransitionstransition - transition instance used to get for animation optionsanimationTransition - an animation transition instance to setpublic AnimationTransition create(TransitionKey transition)
create in interface IsTransitionstransition - transition key used to create the animation transitionspublic void remove(TransitionKey transition)
remove in interface IsTransitionstransition - transition instance used to remove from animation options