|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.argouml.ui.targetmanager.TargetEvent
A targetevent indicating that the target of ArgoUML has changed from the _oldTargets to _newTargets.
Field Summary | |
static String |
TARGET_ADDED
Indicates that a target is being added to the list of targets |
static String |
TARGET_REMOVED
Indicates that a target is being removed from the list of targets |
static String |
TARGET_SET
Indicates that a total new set of targets is set |
private String |
theEventName
The name of the event |
private Object[] |
theNewTargets
The new targets after the change took place |
private Object[] |
theOldTargets
The old targets before the change took place |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
TargetEvent(Object source,
String tEName,
Object[] oldTargets,
Object[] newTargets)
Constructs a new TargetEvent |
Method Summary | |
Object[] |
getAddedTargets()
Returns the targets that are added to the selection |
String |
getName()
Getter for the name |
Object |
getNewTarget()
Helper for getting the new target |
Object[] |
getNewTargets()
Getter for the new targets |
Object[] |
getOldTargets()
Getter for the old targets |
Object[] |
getRemovedTargets()
Gets the targets that are removed from the selection |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String TARGET_SET
public static final String TARGET_ADDED
public static final String TARGET_REMOVED
private String theEventName
private Object[] theOldTargets
private Object[] theNewTargets
Constructor Detail |
public TargetEvent(Object source, String tEName, Object[] oldTargets, Object[] newTargets)
source
- The source that fired the TargetEvent, will
allways be the TargetManagertEName
- The name of the TargetEvent, can be TARGET_SET,
TARGET_REMOVED or TARGET_ADDEDoldTargets
- The old targets before the change took placenewTargets
- The new targets after the change took placeMethod Detail |
public String getName()
public Object[] getOldTargets()
public Object[] getNewTargets()
public Object getNewTarget()
public Object[] getRemovedTargets()
public Object[] getAddedTargets()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |