Class MultisetListenerHelper<E>

    • Method Detail

      • addListener

        public void addListener​(javafx.beans.InvalidationListener listener)
        Adds a new InvalidationListener to this MultisetListenerHelper. If the same listener is added more than once, it will be registered more than once and will receive multiple change events.
        Parameters:
        listener - The listener to add.
      • fireValueChangedEvent

        public void fireValueChangedEvent​(MultisetChangeListener.Change<? extends E> change)
        Notifies all attached InvalidationListeners and MultisetChangeListeners about the change.
        Parameters:
        change - The change to notify listeners about.
      • notifyInvalidationListeners

        protected void notifyInvalidationListeners()
        Notifies all registered InvalidationListeners.
      • removeListener

        public void removeListener​(javafx.beans.InvalidationListener listener)
        Removes the given InvalidationListener from this MultisetListenerHelper. If its was registered more than once, removes one occurrence.
        Parameters:
        listener - The listener to remove.