public class IlpNetworkZoomOutAction extends IlpNetworkZoomInAction
IlpNetworkZoomOutButton
,
IlpNetworkZoomInAction
,
Serialized FormchangeSupport, enabled
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 |
---|
IlpNetworkZoomOutAction(IlpViewsView view,
double zoomFactor)
Creates the action.
|
Modifier and Type | Method and Description |
---|---|
double |
getZoomFactor()
Returns the zoom factor used by this action.
|
void |
setZoomFactor(double factor)
Sets the zoom factor used by this action.
|
actionPerformed, isVerbose, setVerbose
getContext, getView
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
public IlpNetworkZoomOutAction(IlpViewsView view, double zoomFactor)
view
- The view on which to operate.zoomFactor
- The zoom factor to be applied.public void setZoomFactor(double factor)
setZoomFactor
in class IlpNetworkZoomInAction
public double getZoomFactor()
getZoomFactor
in class IlpNetworkZoomInAction
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.