private static enum OsUsersPresenter.OsUsersViewStates extends java.lang.Enum<OsUsersPresenter.OsUsersViewStates> implements ViewStateMachine.TransitionState
| Enum Constant and Description |
|---|
ADD_USER_ACCOUNT
The user account has been added currently.
|
EDIT_USER_ACCOUNT
The user account has been edited currently.
|
MULTI_USERS_SELECTED
The multiple users have been selected currently.
|
SINGLE_USER_SELECTED
The single user has been selected currently.
|
USERS_LIST_REFRESHED
Users list has been refreshed.
|
| 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 OsUsersPresenter.OsUsersViewStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OsUsersPresenter.OsUsersViewStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OsUsersPresenter.OsUsersViewStates USERS_LIST_REFRESHED
public static final OsUsersPresenter.OsUsersViewStates ADD_USER_ACCOUNT
public static final OsUsersPresenter.OsUsersViewStates EDIT_USER_ACCOUNT
public static final OsUsersPresenter.OsUsersViewStates SINGLE_USER_SELECTED
public static final OsUsersPresenter.OsUsersViewStates MULTI_USERS_SELECTED
private final boolean[] state
private final boolean[] mask
public static OsUsersPresenter.OsUsersViewStates[] values()
for (OsUsersPresenter.OsUsersViewStates c : OsUsersPresenter.OsUsersViewStates.values()) System.out.println(c);
public static OsUsersPresenter.OsUsersViewStates 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.Statepublic boolean[] getMask()
getMask in interface ViewStateMachine.TransitionState