org.oddjob.arooa.design.actions
Interface ArooaAction
- All Superinterfaces:
- Action, ActionListener, EventListener
- All Known Implementing Classes:
- AbstractArooaAction, JobSwingAction
public interface ArooaAction
- extends Action
An Action that can be made invisible. This is so that menu
options can only appear when the action is visible.
- Author:
- rob
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 |
Method Summary |
boolean |
isVisible()
Returns the visible state of the Action . |
void |
setVisible(boolean b)
Sets the visible state of the Action . |
VISIBLE_PROPERTY
static final String VISIBLE_PROPERTY
- See Also:
- Constant Field Values
setVisible
void setVisible(boolean b)
- Sets the visible state of the
Action
. When enabled,
any component associated with this object is visible and
able to fire this object's actionPerformed
method.
If the value has changed, a PropertyChangeEvent
is sent
to listeners.
- Parameters:
b
- true to make this Action
visible, false to
make it invisible.
isVisible
boolean isVisible()
- Returns the visible state of the
Action
. When visible,
any component associated with this object is active and
able to fire this object's actionPerformed
method.
- Returns:
- true if this
Action
is visible.