Interface NonMaskedEventSupport


  • public interface NonMaskedEventSupport
    Event support for non-masked listeners
    • Method Detail

      • notifyListeners

        void notifyListeners​(java.beans.PropertyChangeEvent event)
        Notifies all listeners with given event
        Parameters:
        event - the event to fire
      • addPropertyChangeListener

        void addPropertyChangeListener​(NonMaskedPropertyChangeListener listener,
                                       @CheckForNull
                                       javax.jmi.reflect.RefObject attachTo,
                                       @CheckForNull
                                       java.lang.String propertyName)
        Adds given listener to listener list
        Parameters:
        listener - the listener to add
        attachTo - the object to listen changes of, null if listener should listen to all objects
        propertyName - the name of the property to listen changes of, null if listener should listen to all properties
      • removePropertyChangeListener

        void removePropertyChangeListener​(NonMaskedPropertyChangeListener listener,
                                          javax.jmi.reflect.RefObject removeFrom,
                                          @CheckForNull
                                          java.lang.String propertyName)
        Removes listener from listener list
        Parameters:
        listener - the listener to remove
        removeFrom - the object to stop listening changes of
        propertyName - the property name
      • removeAllPropertyChangeListeners

        void removeAllPropertyChangeListeners​(javax.jmi.reflect.RefObject removeFrom)
        Removes all listeners that listen to changes of given object
        Parameters:
        removeFrom - the object to stop listen changes of