|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.guiseframework.model.DefaultListSelectModel.ValueState
protected class DefaultListSelectModel.ValueState
An encapsulation of the state of a value in the model. Value states are considered equal if the value they contain are equal.
| Constructor Summary | |
|---|---|
DefaultListSelectModel.ValueState(V value)
Constructor |
|
DefaultListSelectModel.ValueState(V value,
DefaultListSelectModel.ValueState valueState)
State copy constructor |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
Indicates whether some other object is "equal to" this one. |
V |
getValue()
|
int |
hashCode()
|
boolean |
isDisplayed()
|
boolean |
isEnabled()
|
boolean |
isSelected()
|
void |
setDisplayed(boolean newDisplayed)
Sets whether this value is displayed. |
void |
setEnabled(boolean newEnabled)
Sets whether this value is enabled. |
void |
setSelected(boolean newSelected)
Sets whether this value is selected. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultListSelectModel.ValueState(V value)
value - The model value.
public DefaultListSelectModel.ValueState(V value,
DefaultListSelectModel.ValueState valueState)
value - The new model value.valueState - The existing state containing values to copy.| Method Detail |
|---|
public V getValue()
public boolean isDisplayed()
public void setDisplayed(boolean newDisplayed)
newDisplayed - true if this value should be displayed.public boolean isEnabled()
public void setEnabled(boolean newEnabled)
newEnabled - true if this value should be enabled.public boolean isSelected()
public void setSelected(boolean newSelected)
newSelected - true if this value should be selected.public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectobject - The reference object with which to compare.
true if this object is equivalent to the given object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||