public enum TristateState extends java.lang.Enum<TristateState>
TristateButtonModels.| Enum Constant and Description |
|---|
DESELECTED
The check box is not selected.
|
INDETERMINATE
The check box is in indeterminate state.
|
SELECTED
The check box is selected.
|
| Modifier and Type | Method and Description |
|---|---|
static @NotNull TristateState |
getTristateState(boolean state)
Returns the tristate state for a boolean state.
|
abstract @NotNull TristateState |
nextTristateState()
Returns the next state when selected.
|
static TristateState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TristateState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TristateState DESELECTED
public static final TristateState INDETERMINATE
public static final TristateState SELECTED
public static TristateState[] values()
for (TristateState c : TristateState.values()) System.out.println(c);
public static TristateState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null@NotNull public abstract @NotNull TristateState nextTristateState()
@NotNull public static @NotNull TristateState getTristateState(boolean state)
state - the boolean state