Interface IsTransitions
-
- All Superinterfaces:
IsDefaultTransitions
- All Known Implementing Classes:
Transitions
,Transitions
public interface IsTransitions extends IsDefaultTransitions
Interface to map a transitions element, TRANSITIONS name space.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnimationTransition
create(TransitionMode transition)
Creates an animation transition instance and stores in the animation options.AnimationTransition
get(TransitionMode transition)
Returns an animation transition instance if stored in the animation options.void
remove(TransitionMode transition)
Removes an animation transition previously added.void
set(TransitionMode transition, AnimationTransition animationTransition)
Sets an animation transition instance to store in the animation options.-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultTransitions
has
-
-
-
-
Method Detail
-
get
AnimationTransition get(TransitionMode transition)
Returns an animation transition instance if stored in the animation options.- Specified by:
get
in interfaceIsDefaultTransitions
- Parameters:
transition
- transition instance used to get for animation options- Returns:
- an animation transition instance or
null
if does not exists
-
set
void set(TransitionMode transition, AnimationTransition animationTransition)
Sets an animation transition instance to store in the animation options.- Parameters:
transition
- transition instance used to get for animation optionsanimationTransition
- an animation transition instance to set
-
create
AnimationTransition create(TransitionMode transition)
Creates an animation transition instance and stores in the animation options.- Parameters:
transition
- transition key used to create the animation transitions- Returns:
- a transition animation options
-
remove
void remove(TransitionMode transition)
Removes an animation transition previously added.- Parameters:
transition
- transition instance used to remove from animation options
-
-