Package org.wicketstuff.jwicket
Enum JQuerySpeed
- java.lang.Object
-
- java.lang.Enum<JQuerySpeed>
-
- org.wicketstuff.jwicket.JQuerySpeed
-
- All Implemented Interfaces:
Serializable,Comparable<JQuerySpeed>
public enum JQuerySpeed extends Enum<JQuerySpeed>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSpeed()StringtoString()static JQuerySpeedvalueOf(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.
-
-
-
Enum Constant Detail
-
SLOW
public static final JQuerySpeed SLOW
-
NORMAL
public static final JQuerySpeed NORMAL
-
FAST
public static final JQuerySpeed FAST
-
-
Method Detail
-
values
public static JQuerySpeed[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JQuerySpeed c : JQuerySpeed.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JQuerySpeed valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getSpeed
public String getSpeed()
-
toString
public String toString()
- Overrides:
toStringin classEnum<JQuerySpeed>
-
-