public enum AnimationSpeed extends Enum<AnimationSpeed>
Enum Constant and Description |
---|
DEFAULT |
FAST |
FASTER |
FASTEST |
FASTESTER |
FASTESTEST |
OFF |
SLOW |
SLOWER |
SLOWEST |
SLOWESTER |
SLOWESTEST |
Modifier and Type | Field and Description |
---|---|
javafx.util.Duration |
frameSize |
int |
n |
String |
title |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static AnimationSpeed |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnimationSpeed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnimationSpeed OFF
public static final AnimationSpeed FASTESTEST
public static final AnimationSpeed FASTESTER
public static final AnimationSpeed FASTEST
public static final AnimationSpeed FASTER
public static final AnimationSpeed FAST
public static final AnimationSpeed DEFAULT
public static final AnimationSpeed SLOW
public static final AnimationSpeed SLOWER
public static final AnimationSpeed SLOWEST
public static final AnimationSpeed SLOWESTER
public static final AnimationSpeed SLOWESTEST
public static AnimationSpeed[] values()
for (AnimationSpeed c : AnimationSpeed.values()) System.out.println(c);
public static AnimationSpeed 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 toString()
toString
in class Enum<AnimationSpeed>
Copyright © 2010–2023 Francesco Kriegel. All rights reserved.