|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.swing.AbstractAction | +--org.argouml.uml.ui.UMLAction | +--org.argouml.uml.ui.ActionNavigability
ActionNavigability
, remove 0.15.3, alexb
A class to perform the action of changing the unidirectional or bidirectional navigation of an association.
Field Summary | |
---|---|
(package private) java.lang.Object |
assocEnd
Deprecated. |
(package private) java.lang.Object |
assocStart
Deprecated. |
static int |
BIDIRECTIONAL
Deprecated. |
static int |
ENDTOSTART
Deprecated. |
(package private) int |
nav
Deprecated. |
static int |
STARTTOEND
Deprecated. |
Fields inherited from class org.argouml.uml.ui.UMLAction |
---|
cat, HAS_ICON, NO_ICON |
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(java.lang.String label,
java.lang.Object assocStart,
java.lang.Object assocEnd,
int nav)
Deprecated. |
Method Summary | |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
Deprecated. To perform the action of changing navigability |
private static java.lang.String |
getDescription(java.lang.Object assocStart,
java.lang.Object assocEnd,
int nav)
Deprecated. |
static ActionNavigability |
newActionNavigability(java.lang.Object assocStart,
java.lang.Object assocEnd,
int nav)
Deprecated. The ActionNavigability constructor. |
boolean |
shouldBeEnabled()
Deprecated. The is action is always enabled. |
Methods inherited from class org.argouml.uml.ui.UMLAction |
---|
getMnemonic, getShortcut, getValue, isEnabled, markNeedsSave, putValue, stripJunk, updateEnabled, updateEnabled |
Methods inherited from class javax.swing.AbstractAction |
---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, 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
public static final int STARTTOEND
public static final int ENDTOSTART
int nav
java.lang.Object assocStart
java.lang.Object assocEnd
Constructor Detail |
protected ActionNavigability(java.lang.String label, java.lang.Object assocStart, java.lang.Object assocEnd, int nav)
Method Detail |
public static ActionNavigability newActionNavigability(java.lang.Object assocStart, java.lang.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:private static java.lang.String getDescription(java.lang.Object assocStart, java.lang.Object assocEnd, int nav)
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed
in interface java.awt.event.ActionListener
actionPerformed
in class UMLAction
public boolean shouldBeEnabled()
shouldBeEnabled
in class UMLAction
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20040306) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |