Module is.codion.swing.common.model
Class NullableToggleButtonModel.ToggleState
java.lang.Object
is.codion.swing.common.model.component.button.NullableToggleButtonModel.ToggleState
- Enclosing class:
- NullableToggleButtonModel
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface is.codion.common.observer.Observable
addConsumer, addListener, addWeakConsumer, addWeakListener, optional, removeConsumer, removeListener, removeWeakConsumer, removeWeakListener
-
Method Details
-
get
- Specified by:
get
in interfaceObservable<Boolean>
- Returns:
- the value
-
set
Description copied from interface:Mutable
Sets the value -
next
public void next()Iterates between the states: null -> false -> true -
observer
- Specified by:
observer
in interfaceObservable<Boolean>
- Returns:
- an
Observer
notified each time the value may have changed
-