Package com._1c.g5.v8.dt.common.ui
Enum CommonUI.CheckState
- java.lang.Object
-
- java.lang.Enum<CommonUI.CheckState>
-
- com._1c.g5.v8.dt.common.ui.CommonUI.CheckState
-
- All Implemented Interfaces:
Serializable
,Comparable<CommonUI.CheckState>
- Enclosing class:
- CommonUI
public static enum CommonUI.CheckState extends Enum<CommonUI.CheckState>
States of checkbox
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLE_GRAYED
DISABLE_SELECTED
DISABLE_UNSELECTED
ENABLE_GRAYED
ENABLE_SELECTED
ENABLE_UNSELECTED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CommonUI.CheckState
valueOf(String name)
Returns the enum constant of this type with the specified name.static CommonUI.CheckState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENABLE_SELECTED
public static final CommonUI.CheckState ENABLE_SELECTED
-
ENABLE_UNSELECTED
public static final CommonUI.CheckState ENABLE_UNSELECTED
-
DISABLE_SELECTED
public static final CommonUI.CheckState DISABLE_SELECTED
-
DISABLE_UNSELECTED
public static final CommonUI.CheckState DISABLE_UNSELECTED
-
ENABLE_GRAYED
public static final CommonUI.CheckState ENABLE_GRAYED
-
DISABLE_GRAYED
public static final CommonUI.CheckState DISABLE_GRAYED
-
-
Method Detail
-
values
public static CommonUI.CheckState[] 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 (CommonUI.CheckState c : CommonUI.CheckState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CommonUI.CheckState 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
-
-