public static enum AcquiredLocksPresenter.AcquiredLocksViewStates extends java.lang.Enum<AcquiredLocksPresenter.AcquiredLocksViewStates> implements ViewStateMachine.TransitionState
Enum Constant and Description |
---|
EMPTY_RECORDS
The acquired lock table has been empty.
|
RECORDS_SELECTED
The acquired lock table has selected rows.
|
SELECTION_IS_EMPTY
The acquired lock table has an empty selection.
|
THERE_IS_A_LOCK
The acquired lock table has a locked record.
|
THERE_IS_A_RECORD
The acquired lock table has a row.
|
Modifier and Type | Field and Description |
---|---|
private boolean[] |
mask
The current mask that defines components to which the current state is applied
|
private boolean[] |
state
The current components states to be enabled or disabled
|
Modifier and Type | Method and Description |
---|---|
boolean[] |
getMask()
Gets the current mask that defines the set of affected components (widgets).
|
boolean[] |
getState()
Gets the current state that defines the affected components states.
|
static AcquiredLocksPresenter.AcquiredLocksViewStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AcquiredLocksPresenter.AcquiredLocksViewStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AcquiredLocksPresenter.AcquiredLocksViewStates EMPTY_RECORDS
public static final AcquiredLocksPresenter.AcquiredLocksViewStates THERE_IS_A_RECORD
public static final AcquiredLocksPresenter.AcquiredLocksViewStates THERE_IS_A_LOCK
public static final AcquiredLocksPresenter.AcquiredLocksViewStates SELECTION_IS_EMPTY
public static final AcquiredLocksPresenter.AcquiredLocksViewStates RECORDS_SELECTED
private final boolean[] state
private final boolean[] mask
public static AcquiredLocksPresenter.AcquiredLocksViewStates[] values()
for (AcquiredLocksPresenter.AcquiredLocksViewStates c : AcquiredLocksPresenter.AcquiredLocksViewStates.values()) System.out.println(c);
public static AcquiredLocksPresenter.AcquiredLocksViewStates 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 nullpublic boolean[] getState()
getState
in interface ViewStateMachine.State
public boolean[] getMask()
getMask
in interface ViewStateMachine.TransitionState