public enum DefaultAnimationPropertyKey extends Enum<DefaultAnimationPropertyKey> implements AnimationPropertyKey
Enum Constant and Description |
---|
BACKGROUND_COLOR
Uses to backgroundColor property to animate the element.
|
BORDER_COLOR
Uses to borderColor property to animate the element.
|
BORDER_WIDTH
Uses to borderWidth property to animate the element.
|
COLOR
Uses to color property to animate the element.
|
RADIUS
Uses to radius property to animate the element.
|
TENSION
Uses to tension property to animate the element.
|
VISIBLE
Uses to visible property to animate the element.
|
X
Uses to x property to animate the element.
|
Y
Uses to y property to animate the element.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
is(AnimationPropertyKey property)
Returns
true if the argument is equals to a default animation property. |
static boolean |
is(String property)
Returns
true if the argument is equals to a default animation property. |
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 DefaultAnimationPropertyKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultAnimationPropertyKey[] |
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, isValid
checkAndGetIfValid, checkIfValid, create, isValid
checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final DefaultAnimationPropertyKey X
public static final DefaultAnimationPropertyKey Y
public static final DefaultAnimationPropertyKey BORDER_WIDTH
public static final DefaultAnimationPropertyKey RADIUS
public static final DefaultAnimationPropertyKey TENSION
public static final DefaultAnimationPropertyKey BACKGROUND_COLOR
public static final DefaultAnimationPropertyKey BORDER_COLOR
public static final DefaultAnimationPropertyKey COLOR
public static final DefaultAnimationPropertyKey VISIBLE
public static DefaultAnimationPropertyKey[] values()
for (DefaultAnimationPropertyKey c : DefaultAnimationPropertyKey.values()) System.out.println(c);
public static DefaultAnimationPropertyKey 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()
type
in interface IsTypedAnimationKey
public List<AnimationPropertyKey> properties()
AnimationCollectionKey
properties
in interface AnimationCollectionKey
public static boolean is(AnimationPropertyKey property)
true
if the argument is equals to a default animation property.property
- the animation property to checktrue
if the argument is equals to a default animation propertypublic static boolean is(String property)
true
if the argument is equals to a default animation property.property
- the animation property to checktrue
if the argument is equals to a default animation property