org.argouml.swingext
Class AbstractButtonAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.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

Field Summary
static int DOUBLE_CLICK
           
static int NONE
           
 
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
 
Method Summary
 int getLockMethod()
           
 boolean isModal()
           
 void setLockMethod(int lockMethod)
           
 void setModal(boolean modal)
           
 
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
 

Field Detail

NONE

public static final int NONE
See Also:
Constant Field Values

DOUBLE_CLICK

public static final int DOUBLE_CLICK
See Also:
Constant Field Values
Constructor Detail

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

Method Detail

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


ArgoUML © 1996-2003 (20030829)ArgoUML Project HomeArgoUML Cookbook