public class BooleanAction extends MDKAbstractAction
changeSupport, enabledACCELERATOR_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 |
|---|
BooleanAction(ActionInfo actionInfo) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
onUpdate(boolean isSelected)
Method automatically triggered when the action is selected or unselected
|
void |
restoreSelectedKeyPreference() |
String |
toString() |
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabledpublic BooleanAction(ActionInfo actionInfo)
public void actionPerformed(ActionEvent e)
public void restoreSelectedKeyPreference()
public void onUpdate(boolean isSelected)
isSelected -
Fabien Michel, Olivier Gutknecht, Jacques Ferber - February 17 2020