public interface IsAnimations extends IsDefaultAnimations
Modifier and Type | Method and Description |
---|---|
AnimationCollection |
create(AnimationCollectionKey collection)
Creates an animation collection instance and stores in the the animation options.
|
AnimationCollection |
get(AnimationCollectionKey collection)
Returns an animation collection instance if stored in the the animation options.
|
boolean |
isEnabled(AnimationCollectionKey collection)
Returns
true if the animation collection is enabled, otherwise false . |
void |
remove(AnimationCollectionKey collection)
Removes an animation collection previously added.
|
void |
set(AnimationCollectionKey collection,
AnimationCollection animationCollection)
Sets an animation collection instance to store in the animation options.
|
void |
setEnabled(AnimationCollectionKey collection,
boolean enabled)
Enables or disables an animation collection instance in the animation options.
|
has
void setEnabled(AnimationCollectionKey collection, boolean enabled)
collection
- collection instance used to check in the animation optionsenabled
- if true
it enables an animation collectionboolean isEnabled(AnimationCollectionKey collection)
true
if the animation collection is enabled, otherwise false
.collection
- collection instance used to check in the animation optionstrue
if the animation collection is enabled, otherwise false
AnimationCollection get(AnimationCollectionKey collection)
get
in interface IsDefaultAnimations
collection
- collection instance used to get for animation optionsnull
if does not existsvoid set(AnimationCollectionKey collection, AnimationCollection animationCollection)
collection
- collection instance used to get for animation optionsanimationCollection
- an animation collection instance to setAnimationCollection create(AnimationCollectionKey collection)
collection
- collection key used to create the animation collectionsvoid remove(AnimationCollectionKey collection)
collection
- collection instance used to remove from animation options