Module javafx.base

Interface ObservableSet<E>

    • Method Detail

      • addListener

        void addListener​(SetChangeListener<? super E> listener)
        Add a listener to this observable set.
        Parameters:
        listener - the listener for listening to the set changes
      • removeListener

        void removeListener​(SetChangeListener<? super E> listener)
        Tries to removed a listener from this observable set. If the listener is not attached to this list, nothing happens.
        Parameters:
        listener - a listener to remove