org.argouml.swingext
Class AbstractButtonAction
java.lang.Object
javax.swing.AbstractAction
org.argouml.swingext.AbstractButtonAction
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, ButtonAction, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
- public abstract class AbstractButtonAction
- extends javax.swing.AbstractAction
- implements ButtonAction
- See Also:
- Serialized Form
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 |
AbstractButtonAction(java.lang.String name,
javax.swing.Icon icon)
Creates a new instance of AbstractButtonAction |
AbstractButtonAction(java.lang.String name,
javax.swing.Icon icon,
boolean modal)
Creates a new instance of AbstractButtonAction |
AbstractButtonAction(java.lang.String name,
javax.swing.Icon icon,
boolean modal,
int lockMethod)
Creates a new instance of AbstractButtonAction |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.awt.event.ActionListener |
actionPerformed |
NONE
public static final int NONE
- See Also:
- Constant Field Values
DOUBLE_CLICK
public static final int DOUBLE_CLICK
- See Also:
- Constant Field Values
AbstractButtonAction
public AbstractButtonAction(java.lang.String name,
javax.swing.Icon icon)
- Creates a new instance of AbstractButtonAction
AbstractButtonAction
public AbstractButtonAction(java.lang.String name,
javax.swing.Icon icon,
boolean modal)
- Creates a new instance of AbstractButtonAction
AbstractButtonAction
public AbstractButtonAction(java.lang.String name,
javax.swing.Icon icon,
boolean modal,
int lockMethod)
- Creates a new instance of AbstractButtonAction
setModal
public void setModal(boolean modal)
- Specified by:
setModal
in interface ButtonAction
isModal
public boolean isModal()
- Specified by:
isModal
in interface ButtonAction
setLockMethod
public void setLockMethod(int lockMethod)
- Specified by:
setLockMethod
in interface ButtonAction
getLockMethod
public int getLockMethod()
- Specified by:
getLockMethod
in interface ButtonAction