public enum DefaultTransitionKey extends Enum<DefaultTransitionKey> implements TransitionKey
Enum Constant and Description |
---|
ACTIVE
Uses to configure the animation when an element is hovering.
|
DEFAULT
Uses to configure the animation to the default.
|
HIDE
Uses to configure the animation when a data set is hidden using legend or
IsChart.hide(int) . |
NONE
Uses to configure the animation to ignore the animation.
|
RESET
Uses to configure the animation when an element is resetting.
|
RESIZE
Uses to configure the animation when an element is resizing.
|
SHOW
Uses to configure the animation when a data set is shown using legend or
IsChart.show(int) . |
Modifier and Type | Method and Description |
---|---|
static boolean |
is(String mode)
Returns
true if the argument is equals to a default animation mode. |
static boolean |
is(TransitionKey mode)
Returns
true if the argument is equals to a default animation mode. |
String |
value()
Returns the name value of property
|
static DefaultTransitionKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultTransitionKey[] |
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
checkIfValid, compare, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final DefaultTransitionKey DEFAULT
public static final DefaultTransitionKey ACTIVE
public static final DefaultTransitionKey HIDE
IsChart.hide(int)
.public static final DefaultTransitionKey RESET
public static final DefaultTransitionKey RESIZE
public static final DefaultTransitionKey SHOW
IsChart.show(int)
.public static final DefaultTransitionKey NONE
public static DefaultTransitionKey[] values()
for (DefaultTransitionKey c : DefaultTransitionKey.values()) System.out.println(c);
public static DefaultTransitionKey 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 static boolean is(TransitionKey mode)
true
if the argument is equals to a default animation mode.mode
- the animation mode to checktrue
if the argument is equals to a default animation modepublic static boolean is(String mode)
true
if the argument is equals to a default animation mode.mode
- the animation mode to checktrue
if the argument is equals to a default animation mode