public class NetCheckedState
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static NetCheckedState |
checked()
Creates a
CHECKED state object. |
static NetCheckedState |
construct(int state)
Serializes a
State object;
should not be used directly. |
boolean |
equals(java.lang.Object right)
Compares state values.
|
int |
getState()
Used in serialization of a
State object; should not be used directly. |
static java.lang.String[] |
getStateText()
Specifies the names used in the editing of the state setting; is a name array.
|
static NetCheckedState |
indeterminate()
Creates an
INDETERMINATE state object. |
boolean |
isChecked()
Returns
true if this state represents a CHECKED state. |
boolean |
isIndeterminate()
Returns
true if this state represents an
INDETERMINATE state. |
boolean |
isNotChecked()
Returns
true if this state represents a NOT_CHECKED state. |
static NetCheckedState |
notChecked()
Creates a
NOT_CHECKED state object. |
java.lang.String |
toString()
Sets
toString to the value that this class represents. |
void |
updateState(int newState)
Updates the internal state setting appropriately.
|
public static NetCheckedState notChecked()
NOT_CHECKED state object.public boolean isNotChecked()
true if this state represents a NOT_CHECKED state.public static NetCheckedState checked()
CHECKED state object.public boolean isChecked()
true if this state represents a CHECKED state.public static NetCheckedState indeterminate()
INDETERMINATE state object.public boolean isIndeterminate()
true if this state represents an
INDETERMINATE state.public static NetCheckedState construct(int state)
State object;
should not be used directly.public int getState()
State object; should not be used directly.public static java.lang.String[] getStateText()
public void updateState(int newState)
public java.lang.String toString()
toString to the value that this class represents.toString in class java.lang.Objectpublic boolean equals(java.lang.Object right)
equals in class java.lang.Object