org.tigris.swidgets
Class AbstractButtonAction
AbstractAction
org.tigris.swidgets.AbstractButtonAction
- ButtonAction
public abstract class AbstractButtonAction
extends AbstractAction
static int | DOUBLE_CLICK - Possible ways in which a user can lock a button:
DOUBLE_CLICK
|
static int | NONE - Possible ways in which a user can lock a button:
NONE
|
AbstractButtonAction(String name, Icon icon) - Creates a new instance of AbstractButtonAction
|
AbstractButtonAction(String name, Icon icon, boolean isModal) - Creates a new instance of AbstractButtonAction
|
AbstractButtonAction(String name, Icon icon, boolean isModal, int theLockMethod) - Creates a new instance of AbstractButtonAction
|
DOUBLE_CLICK
public static final int DOUBLE_CLICK
Possible ways in which a user can lock a button:
DOUBLE_CLICK
NONE
public static final int NONE
Possible ways in which a user can lock a button: NONE
AbstractButtonAction
public AbstractButtonAction(String name,
Icon icon)
Creates a new instance of AbstractButtonAction
name
- the name of the actionicon
- the icon for the action
AbstractButtonAction
public AbstractButtonAction(String name,
Icon icon,
boolean isModal)
Creates a new instance of AbstractButtonAction
name
- the name of the actionicon
- the icon of the actionisModal
- modal = the user is obliged to answer this action
before doing anything else
AbstractButtonAction
public AbstractButtonAction(String name,
Icon icon,
boolean isModal,
int theLockMethod)
Creates a new instance of AbstractButtonAction
name
- the name of the actionicon
- the icon of the actionisModal
- modal = the user is obliged to answer this action
before doing anything elsetheLockMethod
- purpose: action buttons can remain depressed
so that they can be used multiple times
getLockMethod
public int getLockMethod()
- getLockMethod in interface ButtonAction
org.argouml.swingext.ButtonAction.getLockMethod()
isModal
public boolean isModal()
- isModal in interface ButtonAction
org.argouml.swingext.ButtonAction.isModal()
setLockMethod
public void setLockMethod(int theLockMethod)
- setLockMethod in interface ButtonAction
org.argouml.swingext.ButtonAction.setLockMethod(int)
setModal
public void setModal(boolean isModal)
- setModal in interface ButtonAction
org.argouml.swingext.ButtonAction.setModal(boolean)