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) final void
abstract boolean
writeNoNotify
(T value) 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
Methods inherited from interface dev.pfaff.altargui.util.listenable.Value
listen, listenAndInvoke, map, read
-
Constructor Details
-
AbstractValue
public AbstractValue()
-
-
Method Details
-
listen
-
notifyUpdateValue
-
writeNoNotify
- Returns:
- whether the value was updated.
-
write
- Specified by:
write
in interfaceWritableValue<T>
-