public enum JQuerySpeed extends Enum<JQuerySpeed>
| Modifier and Type | Method and Description |
|---|---|
String |
getSpeed() |
String |
toString() |
static JQuerySpeed |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JQuerySpeed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JQuerySpeed SLOW
public static final JQuerySpeed NORMAL
public static final JQuerySpeed FAST
public static JQuerySpeed[] values()
for (JQuerySpeed c : JQuerySpeed.values()) System.out.println(c);
public static JQuerySpeed 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 getSpeed()
public String toString()
toString in class Enum<JQuerySpeed>Copyright © 2015. All rights reserved.