public final class Animations extends AbstractNode implements IsAnimations
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 |
has(AnimationCollectionKey collection)
Returns
true if an animation collection instance is 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.
|
checkAndAddToParent, getChildKey, getParentNode, getRootNode, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setElementAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent
checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public void setEnabled(AnimationCollectionKey collection, boolean enabled)
setEnabled
in interface IsAnimations
collection
- collection instance used to check in the animation optionsenabled
- if true
it enables an animation collectionpublic boolean isEnabled(AnimationCollectionKey collection)
true
if the animation collection is enabled, otherwise false
.isEnabled
in interface IsAnimations
collection
- collection instance used to check in the animation optionstrue
if the animation collection is enabled, otherwise false
public boolean has(AnimationCollectionKey collection)
true
if an animation collection instance is stored in the the animation options.has
in interface IsDefaultAnimations
collection
- collection instance used to check in the animation optionstrue
if an animation collection instance is stored in the the animation optionspublic AnimationCollection get(AnimationCollectionKey collection)
get
in interface IsDefaultAnimations
get
in interface IsAnimations
collection
- collection instance used to get for animation optionsnull
if does not existspublic void set(AnimationCollectionKey collection, AnimationCollection animationCollection)
set
in interface IsAnimations
collection
- collection instance used to get for animation optionsanimationCollection
- an animation collection instance to setpublic AnimationCollection create(AnimationCollectionKey collection)
create
in interface IsAnimations
collection
- collection key used to create the animation collectionspublic void remove(AnimationCollectionKey collection)
remove
in interface IsAnimations
collection
- collection instance used to remove from animation options