public static enum GroupsPresenter.GroupsViewStates extends java.lang.Enum<GroupsPresenter.GroupsViewStates> implements ViewStateMachine.TransitionState
Enum Constant and Description |
---|
ADD_GROUP_ACCOUNT
The new group account has been added currently.
|
EDIT_GROUP_ACCOUNT
The group has been edited currently.
|
GROUP_USER_SELECTED
The group and user have been selected.
|
GROUP_USERS_LIST_REFRESHED
The group users table has been refreshed.
|
GROUPS_LIST_REFRESHED
Groups list has been refreshed.
|
MULTI_GROUPS_SELECTED
The more than one group have been selected.
|
SINGLE_GROUP_SELECTED
The single group has been selected.
|
USERS_LIST_POPULATED
The all user table has been filled.
|
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 GroupsPresenter.GroupsViewStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static GroupsPresenter.GroupsViewStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupsPresenter.GroupsViewStates GROUPS_LIST_REFRESHED
public static final GroupsPresenter.GroupsViewStates ADD_GROUP_ACCOUNT
public static final GroupsPresenter.GroupsViewStates EDIT_GROUP_ACCOUNT
public static final GroupsPresenter.GroupsViewStates SINGLE_GROUP_SELECTED
public static final GroupsPresenter.GroupsViewStates MULTI_GROUPS_SELECTED
public static final GroupsPresenter.GroupsViewStates GROUP_USER_SELECTED
public static final GroupsPresenter.GroupsViewStates USERS_LIST_POPULATED
public static final GroupsPresenter.GroupsViewStates GROUP_USERS_LIST_REFRESHED
private final boolean[] state
private final boolean[] mask
public static GroupsPresenter.GroupsViewStates[] values()
for (GroupsPresenter.GroupsViewStates c : GroupsPresenter.GroupsViewStates.values()) System.out.println(c);
public static GroupsPresenter.GroupsViewStates 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