Package 

Class ReadonlyProperty

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private T value
    • Method Summary

      Modifier and Type Method Description
      T getValue()
      Unit setValue(T value)
      final Unit notifyUnchanged() Notifies all listeners with current value.
      • Methods inherited from class tools.aqua.bgw.observable.properties.ReadonlyProperty

        addListener, addListenerAndInvoke, clearListeners, removeListener
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReadonlyProperty

        ReadonlyProperty(T initialValue)
        Creates a ReadonlyProperty with given initial value.
        Parameters:
        initialValue - Initial value of this property.