org.argouml.model.uml
Class NSUMLModelEventListener
java.lang.Object
org.argouml.model.uml.NSUMLEventListener
org.argouml.model.uml.NSUMLModelEventListener
- All Implemented Interfaces:
- EventListener, ru.novosoft.uml.MElementListener
- class NSUMLModelEventListener
- extends NSUMLEventListener
The adapter listener for model element events.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NSUMLModelEventListener
public NSUMLModelEventListener(PropertyChangeListener l,
Object e,
String[] ev)
- See Also:
NSUMLEventListener.NSUMLEventListener(
PropertyChangeListener, Object, String[])
NSUMLModelEventListener
public NSUMLModelEventListener(PropertyChangeListener l,
Object e)
- See Also:
NSUMLModelEventListener(
PropertyChangeListener, Object, String[])
delete
public void delete()
- Description copied from class:
NSUMLEventListener
- Unregister this event listener and remove all information about it.
- Specified by:
delete
in class NSUMLEventListener
- See Also:
NSUMLEventListener.delete()
getListener
PropertyChangeListener getListener()
- Returns the listener or
null
if the listener is
already Garbage collected.
- Returns:
- Returns the listener.
getElement
Object getElement()
- Returns:
- Returns the element.
getEvents
String[] getEvents()
- Returns:
- Returns the events.
match
public boolean match(Object e,
String[] evs)
- Returns
true
if this event listener matches the object
and event names.
- Parameters:
e
- The object to match.evs
- The event names to match.
- Returns:
- true if matching.
propertySet
public void propertySet(ru.novosoft.uml.MElementEvent arg0)
- Specified by:
propertySet
in interface ru.novosoft.uml.MElementListener
- See Also:
MElementListener.propertySet(
ru.novosoft.uml.MElementEvent)
roleAdded
public void roleAdded(ru.novosoft.uml.MElementEvent arg0)
- Specified by:
roleAdded
in interface ru.novosoft.uml.MElementListener
- See Also:
MElementListener.roleAdded(
ru.novosoft.uml.MElementEvent)
roleRemoved
public void roleRemoved(ru.novosoft.uml.MElementEvent arg0)
- Specified by:
roleRemoved
in interface ru.novosoft.uml.MElementListener
- See Also:
MElementListener.roleRemoved(
ru.novosoft.uml.MElementEvent)
listRoleItemSet
public void listRoleItemSet(ru.novosoft.uml.MElementEvent arg0)
- Specified by:
listRoleItemSet
in interface ru.novosoft.uml.MElementListener
- See Also:
MElementListener.listRoleItemSet(
ru.novosoft.uml.MElementEvent)
removed
public void removed(ru.novosoft.uml.MElementEvent arg0)
- Specified by:
removed
in interface ru.novosoft.uml.MElementListener
- See Also:
MElementListener.removed(
ru.novosoft.uml.MElementEvent)
recovered
public void recovered(ru.novosoft.uml.MElementEvent arg0)
- Specified by:
recovered
in interface ru.novosoft.uml.MElementListener
- See Also:
MElementListener.recovered(
ru.novosoft.uml.MElementEvent)