org.argouml.ui.explorer
Class ExplorerTree.ExplorerTargetListener

java.lang.Object
  extended byorg.argouml.ui.explorer.ExplorerTree.ExplorerTargetListener
All Implemented Interfaces:
java.util.EventListener, TargetListener
Enclosing class:
ExplorerTree

class ExplorerTree.ExplorerTargetListener
extends java.lang.Object
implements TargetListener


Constructor Summary
(package private) ExplorerTree.ExplorerTargetListener()
           
 
Method Summary
private  void setTargets(java.lang.Object[] targets)
          actions a change in targets received from the TargetManager.
 void targetAdded(TargetEvent e)
          Fired when a target is added to the list of targets.
 void targetRemoved(TargetEvent e)
          Fired when a target is removed from the list of targets
 void targetSet(TargetEvent e)
          Fired when a total new set of targets is set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExplorerTree.ExplorerTargetListener

ExplorerTree.ExplorerTargetListener()
Method Detail

setTargets

private void setTargets(java.lang.Object[] targets)
actions a change in targets received from the TargetManager.


targetAdded

public void targetAdded(TargetEvent e)
Description copied from interface: TargetListener
Fired when a target is added to the list of targets.

Specified by:
targetAdded in interface TargetListener
Parameters:
e - The targetevent, name will be TARGET_ADDED
See Also:
TargetListener.targetAdded(org.argouml.ui.targetmanager.TargetEvent)

targetRemoved

public void targetRemoved(TargetEvent e)
Description copied from interface: TargetListener
Fired when a target is removed from the list of targets

Specified by:
targetRemoved in interface TargetListener
Parameters:
e - The targetevent, name will be TARGET_REMOVED
See Also:
TargetListener.targetRemoved(org.argouml.ui.targetmanager.TargetEvent)

targetSet

public void targetSet(TargetEvent e)
Description copied from interface: TargetListener
Fired when a total new set of targets is set

Specified by:
targetSet in interface TargetListener
Parameters:
e - The targetevent, name will be TARGET_SET
See Also:
TargetListener.targetSet(org.argouml.ui.targetmanager.TargetEvent)


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