public interface RepositoryListenerRegistry
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener,
javax.jmi.reflect.RefObject attachTo)
Adds listener for element.
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener,
javax.jmi.reflect.RefObject attachTo,
java.util.List propertyNames)
Adds listener to given element and listens only for given property change.
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener,
javax.jmi.reflect.RefObject attachTo,
java.lang.String propertyName)
Adds listener to given element and listens only for given property change.
|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener,
java.lang.String propertyName)
Adds listener to all elements and listens only for one property change.
|
void |
removeAllPropertyChangeListeners(javax.jmi.reflect.RefObject removeFrom)
Removes all listeners from given element.
|
void |
removeListener(java.beans.PropertyChangeListener listener)
Removes given listener.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener,
javax.jmi.reflect.RefObject removeFrom)
Removes property change listener
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener,
javax.jmi.reflect.RefObject removeFrom,
java.util.List propertyNames)
Removes property change listener
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener,
javax.jmi.reflect.RefObject removeFrom,
java.lang.String propertyName)
Removes property change listener.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener,
java.lang.String propertyName)
Removes property change listener.
|
void addPropertyChangeListener(java.beans.PropertyChangeListener listener, javax.jmi.reflect.RefObject attachTo)
listener
- listener to addattachTo
- element to listen. Can be null. If null listens all repository elements.void addPropertyChangeListener(java.beans.PropertyChangeListener listener, java.lang.String propertyName)
listener
- listener to addpropertyName
- property name to listenvoid addPropertyChangeListener(java.beans.PropertyChangeListener listener, javax.jmi.reflect.RefObject attachTo, java.util.List propertyNames)
listener
- listener to addattachTo
- element to listen. Can be null. If null listens all repository elements.propertyNames
- property names to listen.void addPropertyChangeListener(java.beans.PropertyChangeListener listener, javax.jmi.reflect.RefObject attachTo, java.lang.String propertyName)
listener
- listener to addattachTo
- element which events listener want to listen. In case null it listens all events from repositorypropertyName
- property change to listen.void removePropertyChangeListener(java.beans.PropertyChangeListener listener, javax.jmi.reflect.RefObject removeFrom)
listener
- listener to remove.removeFrom
- element from which listener can be removed. Can be null, then listener will be removed from all repository.void removePropertyChangeListener(java.beans.PropertyChangeListener listener, javax.jmi.reflect.RefObject removeFrom, java.util.List propertyNames)
listener
- listener to removeremoveFrom
- element from which remove listener. If null removes from all repository.propertyNames
- property names from which remove listener.void removePropertyChangeListener(java.beans.PropertyChangeListener listener, java.lang.String propertyName)
listener
- listener to removepropertyName
- property name from which listener can be removed.void removePropertyChangeListener(java.beans.PropertyChangeListener listener, javax.jmi.reflect.RefObject removeFrom, java.lang.String propertyName)
listener
- listener to removeremoveFrom
- element which events listener do not want to listen. In case null remove listeners all events from repositorypropertyName
- property name from which listener can be removed.void removeAllPropertyChangeListeners(javax.jmi.reflect.RefObject removeFrom)
removeFrom
- element from which listener should be removedvoid removeListener(java.beans.PropertyChangeListener listener)
listener
- listener to remove.