|
||||||||||||
| 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.ActionModifier
ActionModifier, remove 0.15.3, alexb
A class to perform the action of changing value of the modifiers on a package, use case, interface or class.
| Field Summary | |
|---|---|
private UMLBooleanProperty |
_property
Deprecated. |
(package private) java.lang.Object |
falseValue
Deprecated. |
(package private) java.lang.Class |
mclassClass
Deprecated. |
(package private) java.lang.Class |
minterfaceClass
Deprecated. |
(package private) java.lang.Class |
mpackageClass
Deprecated. |
(package private) java.lang.Class |
museCaseClass
Deprecated. |
private java.lang.Object |
object
Deprecated. |
(package private) java.lang.Object |
trueValue
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 | |
|---|---|
ActionModifier(java.lang.String name,
java.lang.String propertyName,
java.lang.String getMethod,
java.lang.String setMethod,
java.lang.Object mclass)
Deprecated. Defines an Action object with the specified description which will use the given reflection methods to modify boolean values in an MClass object. |
|
ActionModifier(java.lang.String name,
java.lang.String propertyName,
java.lang.String getMethod,
java.lang.String setMethod,
java.lang.Object mclass,
java.lang.Class enumClass,
java.lang.Object trueValue,
java.lang.Object falseValue)
Deprecated. Defines an Action object with the specified description which will use the given reflection methods to modify an enumerated values in an MClass object. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent ae)
Deprecated. To perform the action of changing a modifier |
boolean |
shouldBeEnabled()
Deprecated. The 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 |
private UMLBooleanProperty _property
private java.lang.Object object
java.lang.Class mclassClass
java.lang.Class mpackageClass
java.lang.Class minterfaceClass
java.lang.Class museCaseClass
java.lang.Object trueValue
java.lang.Object falseValue
| Constructor Detail |
public ActionModifier(java.lang.String name,
java.lang.String propertyName,
java.lang.String getMethod,
java.lang.String setMethod,
java.lang.Object mclass)
MClass object.
name - the text for the actions menu itempropertyName - the name of the modifier property to be amendedgetMethod - the name of the getter method to retrieve the
propertysetMethod - the name of the setter method to change the
propertymclass - the MClass object containing the
modifier property.
public ActionModifier(java.lang.String name,
java.lang.String propertyName,
java.lang.String getMethod,
java.lang.String setMethod,
java.lang.Object mclass,
java.lang.Class enumClass,
java.lang.Object trueValue,
java.lang.Object falseValue)
MClass object.
name - the text for the actions menu itempropertyName - the name of the modifier property to be amendedgetMethod - the name of the getter method to retrieve the
propertysetMethod - the name of the setter method to change the
propertymclass - the MClass object containing the
modifier property.enumClass - the class representing the enumerationtrueValue - The enumerated value representing truefalseValue - The enumerated value representing false| Method Detail |
public void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class UMLActionpublic 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 |