public abstract class NamedBoolean
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
NamedBoolean(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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