Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.ka2ddo.util
Class NamedBoolean

    java.lang.Object
      org.ka2ddo.util.NamedBoolean

    public abstract class NamedBoolean

extends java.lang.Object

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

### NamedBoolean

    protected NamedBoolean(java.lang.String name)

Method Detail

### toString

    public java.lang.String toString()

  Returns a string representation of the object. In general, the `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.

  Overrides:
    `toString` in class `java.lang.Object`
  Returns:
    a string representation of the object.

### isSelected

    public abstract boolean isSelected()

  Report whether the wrapped property is set or not.

  Returns:
    the boolean value of the property

### setSelected

    public abstract void setSelected(boolean newValue)

  Change the wrapped property's boolean value.

  Parameters:
    `newValue` - the new boolean value for the property

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD