Interface ObservableBoolean
- All Known Subinterfaces:
ObservableMutableBoolean
- All Known Implementing Classes:
BooleanSetting
,ParentedBooleanSetting
public interface ObservableBoolean
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAndRunListener
(Runnable listener) default Runnable
addAndRunValueListener
(Consumer<Boolean> listener) void
addListener
(Runnable listener) default Runnable
addValueListener
(Consumer<Boolean> listener) boolean
get()
void
removeListener
(Runnable listener)
-
Method Details
-
get
boolean get() -
addListener
-
addAndRunListener
-
removeListener
-
addValueListener
-
addAndRunValueListener
-