public static enum UsersPresenter.UsersViewStates extends java.lang.Enum<UsersPresenter.UsersViewStates> implements ViewStateMachine.TransitionState
Enum Constant and Description |
---|
ADD_USER_ACCOUNT
The user account has been added currently.
|
ALL_GROUPS_POPULATED
The all groups table has been filled recently
|
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.
|
USER_GROUP_CLEARED
The group accounts to which a selected user belongs have been cleared due to the user
accounts selection has been cleared currently.
|
USER_GROUP_SELECTED
The user account and the group to which the selected user belongs have 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 UsersPresenter.UsersViewStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UsersPresenter.UsersViewStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UsersPresenter.UsersViewStates USERS_LIST_REFRESHED
public static final UsersPresenter.UsersViewStates ADD_USER_ACCOUNT
public static final UsersPresenter.UsersViewStates EDIT_USER_ACCOUNT
public static final UsersPresenter.UsersViewStates SINGLE_USER_SELECTED
public static final UsersPresenter.UsersViewStates MULTI_USERS_SELECTED
public static final UsersPresenter.UsersViewStates USER_GROUP_CLEARED
public static final UsersPresenter.UsersViewStates USER_GROUP_SELECTED
public static final UsersPresenter.UsersViewStates ALL_GROUPS_POPULATED
private final boolean[] state
private final boolean[] mask
public static UsersPresenter.UsersViewStates[] values()
for (UsersPresenter.UsersViewStates c : UsersPresenter.UsersViewStates.values()) System.out.println(c);
public static UsersPresenter.UsersViewStates 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