org.jdesktop.animation.timing
public static enum Animator.RepeatBehavior extends Enum<Animator.RepeatBehavior>
Enum Constant and Description |
---|
LOOP
Each repeated cycle proceeds in the same direction as the
previous one
|
REVERSE
Each cycle proceeds in the opposite direction as the
previous one
|
Modifier and Type | Method and Description |
---|---|
static Animator.RepeatBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Animator.RepeatBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Animator.RepeatBehavior LOOP
public static final Animator.RepeatBehavior REVERSE
public static Animator.RepeatBehavior[] values()
for (Animator.RepeatBehavior c : Animator.RepeatBehavior.values()) System.out.println(c);
public static Animator.RepeatBehavior 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 null