Interface ItemChangeEventListener<SOURCE,​ITEM>

  • Type Parameters:
    SOURCE - type of class that can fire this event.
    ITEM - type of item that can be changed.
    All Superinterfaces:
    EventListener

    public interface ItemChangeEventListener<SOURCE,​ITEM>
    extends EventListener
    Listener that observes for an item.
    • Method Detail

      • itemChanged

        void itemChanged​(@NotNull
                         SOURCE source,
                         @Nullable
                         ITEM old,
                         @NotNull
                         ITEM neo)
        Fired when the observed item has been changed.
        Parameters:
        source - class instance which item has been changed.
        old - the old value.
        neo - the new value.