public enum DefaultAnimationCollectionKey extends Enum<DefaultAnimationCollectionKey> implements AnimationCollectionKey
Enum Constant and Description |
---|
COLORS
Defines the default animation collection for colors.
|
NUMBERS
Defines the default animation collection for numbers.
|
VISIBLE
Defines the default animation collection for visible property.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
is(AnimationCollectionKey collection)
Returns
true if the argument is equals to a default animation collection. |
List<AnimationPropertyKey> |
properties()
Returns the animation properties related to the collection.
|
AnimationType |
type()
Returns the animation type related to the property.
|
String |
value()
Returns the name value of property
|
static DefaultAnimationCollectionKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultAnimationCollectionKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
checkAndGetIfValid, checkIfValid, create, create, isValid
checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final DefaultAnimationCollectionKey COLORS
public static final DefaultAnimationCollectionKey NUMBERS
public static final DefaultAnimationCollectionKey VISIBLE
public static DefaultAnimationCollectionKey[] values()
for (DefaultAnimationCollectionKey c : DefaultAnimationCollectionKey.values()) System.out.println(c);
public static DefaultAnimationCollectionKey valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
Key
public AnimationType type()
IsTypedAnimationKey
type
in interface IsTypedAnimationKey
public List<AnimationPropertyKey> properties()
AnimationCollectionKey
properties
in interface AnimationCollectionKey
public static boolean is(AnimationCollectionKey collection)
true
if the argument is equals to a default animation collection.collection
- the animation collection to checktrue
if the argument is equals to a default animation collection