Interface ObservableValue<X>
- All Known Subinterfaces:
ObservableMutable<X>
- All Known Implementing Classes:
EnumSetting
public interface ObservableValue<X>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAndRunListener
(Runnable listener) default Runnable
addAndRunValueListener
(Consumer<X> listener) void
addListener
(Runnable listener) default Runnable
addValueListener
(Consumer<X> listener) get()
void
removeListener
(Runnable listener)
-
Method Details
-
get
X get() -
addListener
-
addAndRunListener
-
removeListener
-
addValueListener
-
addAndRunValueListener
-