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(TransitionKey transition)
Creates an animation transition instance and stores in the animation options.AnimationTransition
get(TransitionKey transition)
Returns an animation transition instance if stored in 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.-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultTransitions
has
-
-
-
-
Method Detail
-
get
AnimationTransition get(TransitionKey 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(TransitionKey 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(TransitionKey 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(TransitionKey transition)
Removes an animation transition previously added.- Parameters:
transition
- transition instance used to remove from animation options
-
-