Enum Preview.ButtonState
- java.lang.Object
-
- java.lang.Enum<Preview.ButtonState>
-
- com.priint.pubserver.comet.bridge.entitydata.Preview.ButtonState
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Preview.ButtonState>
- Enclosing class:
- Preview
public static enum Preview.ButtonState extends java.lang.Enum<Preview.ButtonState>
The enum Button state.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intgetCode()Gets code.static Preview.ButtonStatevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Preview.ButtonState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVISIBLE
public static final Preview.ButtonState INVISIBLE
The Invisible.
-
INACTIVE
public static final Preview.ButtonState INACTIVE
The Inactive.
-
ACTIVE
public static final Preview.ButtonState ACTIVE
The Active.
-
-
Method Detail
-
values
public static Preview.ButtonState[] 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 (Preview.ButtonState c : Preview.ButtonState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Preview.ButtonState valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getCode
public abstract int getCode()
Gets code.- Returns:
- the code
-
-