Enum AttributeState
- java.lang.Object
-
- java.lang.Enum<AttributeState>
-
- cn.mapway.ui.client.mvc.attribute.event.AttributeState
-
- All Implemented Interfaces:
Serializable,Comparable<AttributeState>
public enum AttributeState extends Enum<AttributeState>
属性的状态的变更
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTRIBUTE_STATE_HIDEATTRIBUTE_STATE_NONEATTRIBUTE_STATE_VISIBLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AttributeStatevalueOf(String name)Returns the enum constant of this type with the specified name.static AttributeState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ATTRIBUTE_STATE_NONE
public static final AttributeState ATTRIBUTE_STATE_NONE
-
ATTRIBUTE_STATE_VISIBLE
public static final AttributeState ATTRIBUTE_STATE_VISIBLE
-
ATTRIBUTE_STATE_HIDE
public static final AttributeState ATTRIBUTE_STATE_HIDE
-
-
Method Detail
-
values
public static AttributeState[] 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 (AttributeState c : AttributeState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AttributeState 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
-
-