public class ZoomAction extends AbstractAction
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 |
---|
ZoomAction(double zoom,
PreviewPane previewPane)
Defines an
Action object with a default description string and default icon. |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
Invoked when an action occurs.
|
void |
deinitialize() |
addPropertyChangeListener, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
public ZoomAction(double zoom, PreviewPane previewPane)
Action
object with a default description string and default icon.public void actionPerformed(ActionEvent e)
public void deinitialize()