public class ZoomAction extends ViewerActionimplements ZoomChangedListener
description, icon, namechangeSupportACCELERATOR_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(Viewer
Create a new ZoomAction.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent
|
Object |
getValue(String
|
boolean |
isEnabled()
|
void |
zoomChanged()
|
getViewer, putValue, setEnabledsetIconFromResourcesetDescription, setIcon, setNameaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, removePropertyChangeListenerpublic ZoomAction(Viewerviewer, boolean in)
viewer - the viewer this action is about.
in - true to zoom in, false to zoom out.
public void actionPerformed(ActionEvente)
public boolean isEnabled()
public void zoomChanged()