public static enum CertificatesPresenter.CertificatesViewStates extends java.lang.Enum<CertificatesPresenter.CertificatesViewStates> implements ViewStateMachine.TransitionState
Enum Constant and Description |
---|
CERTS_LIST_REFRESHED
Certificate list has been refreshed
|
MULTI_CERTS_SELECTED
More than one certificate have been selected
|
SINGLE_CERT_SELECTED
Single certificate has been selected
|
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 CertificatesPresenter.CertificatesViewStates |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CertificatesPresenter.CertificatesViewStates[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CertificatesPresenter.CertificatesViewStates CERTS_LIST_REFRESHED
public static final CertificatesPresenter.CertificatesViewStates SINGLE_CERT_SELECTED
public static final CertificatesPresenter.CertificatesViewStates MULTI_CERTS_SELECTED
private final boolean[] state
private final boolean[] mask
public static CertificatesPresenter.CertificatesViewStates[] values()
for (CertificatesPresenter.CertificatesViewStates c : CertificatesPresenter.CertificatesViewStates.values()) System.out.println(c);
public static CertificatesPresenter.CertificatesViewStates 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