Interface HasValue.ValueChangeListener<V>

  • Type Parameters:
    V - the value type
    All Superinterfaces:
    java.util.EventListener, java.io.Serializable, SerializableEventListener
    Enclosing interface:
    HasValue<V>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface HasValue.ValueChangeListener<V>
    extends SerializableEventListener
    A listener for value change events.
    See Also:
    HasValue.ValueChangeEvent, Registration
    • Field Detail

      • VALUE_CHANGE_METHOD

        @Deprecated
        static final java.lang.reflect.Method VALUE_CHANGE_METHOD
        Deprecated.
        For internal use only. Might be removed in the future.
    • Method Detail

      • valueChange

        void valueChange​(HasValue.ValueChangeEvent<V> event)
        Invoked when this listener receives a value change event from an event source to which it has been added.
        Parameters:
        event - the received event, not null