|
|||||||||||
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 | |
private java.lang.String |
_name
The name of the event |
private java.lang.Object[] |
_newTargets
The new targets after the change took place |
private java.lang.Object[] |
_oldTargets
The old targets before the change took place |
static java.lang.String |
TARGET_ADDED
Indicates that a target is being added to the list of targets |
static java.lang.String |
TARGET_REMOVED
Indicates that a target is being removed from the list of targets |
static java.lang.String |
TARGET_SET
Indicates that a total new set of targets is set |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
TargetEvent(java.lang.Object source,
java.lang.String name,
java.lang.Object[] oldTargets,
java.lang.Object[] newTargets)
Constructs a new TargetEvent |
Method Summary | |
java.lang.String |
getName()
Getter for the name |
java.lang.Object |
getNewTarget()
Helper for getting the new target |
java.lang.Object[] |
getNewTargets()
Getter for the new targets |
java.lang.Object[] |
getOldTargets()
Getter for the old targets |
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 java.lang.String TARGET_SET
public static final java.lang.String TARGET_ADDED
public static final java.lang.String TARGET_REMOVED
private java.lang.String _name
private java.lang.Object[] _oldTargets
private java.lang.Object[] _newTargets
Constructor Detail |
public TargetEvent(java.lang.Object source, java.lang.String name, java.lang.Object[] oldTargets, java.lang.Object[] newTargets)
source
- The source that fired the TargetEvent, will
allways be the TargetManagername
- 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 java.lang.String getName()
public java.lang.Object[] getOldTargets()
public java.lang.Object[] getNewTargets()
public java.lang.Object getNewTarget()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20040316) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |