|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ka2ddo.util.NamedBoolean
public abstract class NamedBoolean
This class provides an object wrapper around an accessor-controlled property of type boolean.
| Constructor Summary | |
|---|---|
protected |
NamedBoolean(java.lang.String name)
|
| Method Summary | |
|---|---|
abstract boolean |
isSelected()
Report whether the wrapped property is set or not. |
abstract void |
setSelected(boolean newValue)
Change the wrapped property's boolean value. |
java.lang.String |
toString()
Returns a string representation of the object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected NamedBoolean(java.lang.String name)
| Method Detail |
|---|
public java.lang.String toString()
toString method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
toString in class java.lang.Objectpublic abstract boolean isSelected()
public abstract void setSelected(boolean newValue)
newValue - the new boolean value for the property
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||