|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.swing.AbstractAction
org.tigris.gef.undo.UndoableAction
org.argouml.uml.diagram.ui.ActionNavigability
A class to perform the action of changing the unidirectional or bidirectional navigation of an association.
| Field Summary | |
static int |
BIDIRECTIONAL
Enumeration constant for BIDIRECTIONAL navigability. |
static int |
ENDTOSTART
Enumeration constant for ENDTOSTART navigability. |
static int |
STARTTOEND
Enumeration constant for STARTTOEND navigability. |
| Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Constructor Summary | |
protected |
ActionNavigability(String label,
Object theAssociationStart,
Object theAssociationEnd,
int theNavigability)
The constructor. |
| Method Summary | |
void |
actionPerformed(ActionEvent ae)
To perform the action of changing navigability. |
boolean |
isEnabled()
The is action is always enabled. |
static ActionNavigability |
newActionNavigability(Object assocStart,
Object assocEnd,
int nav)
The ActionNavigability constructor. |
| Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int BIDIRECTIONAL
BIDIRECTIONAL navigability.
public static final int STARTTOEND
STARTTOEND navigability.
public static final int ENDTOSTART
ENDTOSTART navigability.
| Constructor Detail |
protected ActionNavigability(String label,
Object theAssociationStart,
Object theAssociationEnd,
int theNavigability)
label - the description as build in getDescriptiontheAssociationStart - association end 1theAssociationEnd - association end 2theNavigability - the navigability: one of
BIDIRECTIONAL, STARTTOEND, ENDTOSTART| Method Detail |
public static ActionNavigability newActionNavigability(Object assocStart,
Object assocEnd,
int nav)
ActionNavigability constructor.
assocStart - a MAssociationEnd object at the start
of an association.assocEnd - a MAssociationEnd object at the end of
an association.nav - the type of navigation required in the association
being either public void actionPerformed(ActionEvent ae)
ActionListener.actionPerformed(
java.awt.event.ActionEvent)public boolean isEnabled()
AbstractAction.isEnabled()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| ArgoUML © 1996-2006 | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |