Class AbstractValue<T>
java.lang.Object
dev.pfaff.altargui.util.listenable.AbstractSignal
dev.pfaff.altargui.util.listenable.AbstractValue<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ListenerDisposer
Adds a listener.protected final void
notifyUpdateValue
(T value) abstract boolean
valueNoNotify
(T value) final void
Methods inherited from class dev.pfaff.altargui.util.listenable.AbstractSignal
forEachListener, listen, listen, notifyListenersAsRunnable, removeListener
-
Constructor Details
-
AbstractValue
public AbstractValue()
-
-
Method Details
-
listen
-
notifyUpdateValue
-
valueNoNotify
- Returns:
- whether the value was updated.
-
write
- Specified by:
write
in interfaceWritableValue<T>
-