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
-
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()
-