org.argouml.model.uml
Class NSUMLClassEventListener

java.lang.Object
  extended byorg.argouml.model.uml.NSUMLEventListener
      extended byorg.argouml.model.uml.NSUMLClassEventListener
All Implemented Interfaces:
EventListener, ru.novosoft.uml.MElementListener

class NSUMLClassEventListener
extends NSUMLEventListener

The adapter listener for class events.


Constructor Summary
NSUMLClassEventListener(PropertyChangeListener l, Object modelClass, String[] ev)
           
 
Method Summary
 void delete()
          Unregister this event listener and remove all information about it.
(package private)  Object getElement()
           
(package private)  String[] getEvents()
           
(package private)  PropertyChangeListener getListener()
          Returns the listener or null if the listener is already Garbage collected.
 void listRoleItemSet(ru.novosoft.uml.MElementEvent arg0)
           
 boolean match(Object e, String[] evs)
          Returns true if this event listener matches the object and event names.
 void propertySet(ru.novosoft.uml.MElementEvent arg0)
           
 void recovered(ru.novosoft.uml.MElementEvent arg0)
           
 void removed(ru.novosoft.uml.MElementEvent arg0)
           
 void roleAdded(ru.novosoft.uml.MElementEvent arg0)
           
 void roleRemoved(ru.novosoft.uml.MElementEvent arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NSUMLClassEventListener

public NSUMLClassEventListener(PropertyChangeListener l,
                               Object modelClass,
                               String[] ev)
Parameters:
l -
modelClass -
Method Detail

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)


ArgoUML © 1996-2004 (20050222)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook