Class BooleanSignal
java.lang.Object
dev.pfaff.altargui.util.listenable.AbstractSignal
dev.pfaff.altargui.util.listenable.BooleanSignal
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class dev.pfaff.altargui.util.listenable.AbstractSignal
forEachListener, listen, listen, notifyListenersAsRunnable, removeListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.pfaff.altargui.util.listenable.Signal
listenAndInvoke
-
Constructor Details
-
BooleanSignal
public BooleanSignal(boolean initialValue)
-
-
Method Details
-
get
public boolean get() -
writeNoNotify
public boolean writeNoNotify(boolean value) - Returns:
- the previous value
-
setNoNotify
public boolean setNoNotify()- Returns:
- the previous value
-
clearNoNotify
public boolean clearNoNotify()- Returns:
- the previous value
-
write
public boolean write(boolean value) - Returns:
- the previous value
-
set
public boolean set()- Returns:
- the previous value
-
clear
public boolean clear()- Returns:
- the previous value
-
toggle
public void toggle() -
toggleNoNotify
public void toggleNoNotify()
-