Package com.nomagic.uml2.ext.jmi
Interface NonMaskedEventSupport
-
public interface NonMaskedEventSupport
Event support for non-masked listeners
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addPropertyChangeListener(NonMaskedPropertyChangeListener listener, javax.jmi.reflect.RefObject attachTo, java.lang.String propertyName)
Adds given listener to listener listvoid
notifyListeners(java.beans.PropertyChangeEvent event)
Notifies all listeners with given eventvoid
removeAllPropertyChangeListeners(javax.jmi.reflect.RefObject removeFrom)
Removes all listeners that listen to changes of given objectvoid
removeListener(NonMaskedPropertyChangeListener listener)
Removes given listenervoid
removePropertyChangeListener(NonMaskedPropertyChangeListener listener, javax.jmi.reflect.RefObject removeFrom, java.lang.String propertyName)
Removes listener from listener list
-
-
-
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 addattachTo
- the object to listen changes of,null
if listener should listen to all objectspropertyName
- 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 removeremoveFrom
- the object to stop listening changes ofpropertyName
- 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
-
removeListener
void removeListener(NonMaskedPropertyChangeListener listener)
Removes given listener- Parameters:
listener
- the listener to remove
-
-