|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PacksModel.CbSelectionState>
com.izforge.izpack.panels.packs.PacksModel.CbSelectionState
public static enum PacksModel.CbSelectionState
Enumeration of possible internal model states of a pack checkbox
| Enum Constant Summary | |
|---|---|
DEPENDENT_DESELECTED
|
|
DESELECTED
|
|
PARTIAL_SELECTED
|
|
REQUIRED_DESELECTED
|
|
REQUIRED_PARTIAL_SELECTED
|
|
REQUIRED_SELECTED
|
|
SELECTED
|
|
| Method Summary | |
|---|---|
boolean |
isChecked()
Check if the checkbox state means selected or required to be selected (even partially). |
boolean |
isFullyOrPartiallySelected()
Check whether the checkbox state is one of SELECTED, PARTIAL_SELECTED. |
boolean |
isPartiallyChecked()
Check if the checkbox state means partially selected or required to be partially selected. |
boolean |
isSelectable()
Check whether the checkbox state is one of DESELECTED, SELECTED, PARTIAL_SELECTED. |
boolean |
isSelectedOrRequiredSelected()
Check whether the checkbox state is one of REQUIRED_SELECTED, SELECTED. |
static PacksModel.CbSelectionState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PacksModel.CbSelectionState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PacksModel.CbSelectionState PARTIAL_SELECTED
public static final PacksModel.CbSelectionState SELECTED
public static final PacksModel.CbSelectionState DESELECTED
public static final PacksModel.CbSelectionState REQUIRED_SELECTED
public static final PacksModel.CbSelectionState DEPENDENT_DESELECTED
public static final PacksModel.CbSelectionState REQUIRED_PARTIAL_SELECTED
public static final PacksModel.CbSelectionState REQUIRED_DESELECTED
| Method Detail |
|---|
public static PacksModel.CbSelectionState[] values()
for (PacksModel.CbSelectionState c : PacksModel.CbSelectionState.values()) System.out.println(c);
public static PacksModel.CbSelectionState valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic boolean isFullyOrPartiallySelected()
SELECTED, PARTIAL_SELECTED.
true if the above condition is metpublic boolean isSelectable()
DESELECTED, SELECTED, PARTIAL_SELECTED.
true if the above condition is metpublic boolean isSelectedOrRequiredSelected()
REQUIRED_SELECTED, SELECTED.
true if the above condition is metpublic boolean isChecked()
true if checkbox is selected else falsepublic boolean isPartiallyChecked()
true if checkbox is selected else false
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||