public abstract class AbstractArooaAction extends AbstractAction implements ArooaAction
changeSupport, enabled
VISIBLE_PROPERTY
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 and Description |
---|
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. |
Modifier and Type | Method and Description |
---|---|
boolean |
isVisible()
Returns true if the action is visible.
|
void |
setVisible(boolean newValue)
Make the action visible or invisible.
|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
actionPerformed
public AbstractArooaAction()
Action
object with a default
description string and default icon.public AbstractArooaAction(String name)
Action
object with the specified
description string and a default icon.public boolean isVisible()
isVisible
in interface ArooaAction
ArooaAction#isVisible.
public void setVisible(boolean newValue)
setVisible
in interface ArooaAction
ArooaAction.setVisible(boolean)
newValue
- true to make the action visible, false to
make it invisible.