org.oddjob.arooa.design.actions
Class AbstractArooaAction
java.lang.Object
javax.swing.AbstractAction
org.oddjob.arooa.design.actions.AbstractArooaAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action, ArooaAction
- Direct Known Subclasses:
- JobSwingAction
public abstract class AbstractArooaAction
- extends AbstractAction
- implements ArooaAction
- See Also:
- Serialized Form
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
|
Constructor Summary |
AbstractArooaAction()
Defines an Action object with a default
description string and default icon. |
AbstractArooaAction(String name)
Defines an Action object with the specified
description string and a default icon. |
AbstractArooaAction(String name,
Icon icon)
Defines an Action object with the specified
description string and a the specified icon. |
|
Method Summary |
boolean |
isVisible()
Returns true if the action is visible. |
void |
setVisible(boolean newValue)
Make the action visible or invisible. |
AbstractArooaAction
public AbstractArooaAction()
- Defines an
Action object with a default
description string and default icon.
AbstractArooaAction
public AbstractArooaAction(String name)
- Defines an
Action object with the specified
description string and a default icon.
AbstractArooaAction
public AbstractArooaAction(String name,
Icon icon)
- Defines an
Action object with the specified
description string and a the specified icon.
isVisible
public boolean isVisible()
- Returns true if the action is visible.
- Specified by:
isVisible in interface ArooaAction
- See Also:
ArooaAction#isVisible.
- Returns:
- true if the action is visible, false otherwise
setVisible
public void setVisible(boolean newValue)
- Make the action visible or invisible.
- Specified by:
setVisible in interface ArooaAction
- See Also:
ArooaAction.setVisible(boolean)- Parameters:
newValue - true to make the action visible, false to
make it invisible.