public class IlpEquipmentZoomInAction extends IlpAbstractGraphAction
IlpEquipmentZoomInButton
,
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 |
---|
IlpEquipmentZoomInAction(IlpViewsView view,
double zoomFactor)
Creates the action.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(ActionEvent e)
Invoked when an action occurs.
|
double |
getZoomFactor()
Returns the zoom factor used by this action.
|
boolean |
isVerbose()
Returns true if the action will print the resulting view transformer.
|
void |
setVerbose(boolean on)
Determines whether the action will print the resulting view transformer.
|
void |
setZoomFactor(double factor)
Sets the zoom factor used by this action.
|
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 IlpEquipmentZoomInAction(IlpViewsView view, double zoomFactor)
view
- The view on which to operate.zoomFactor
- The zoom factor to be applied.public void setZoomFactor(double factor)
public double getZoomFactor()
public boolean isVerbose()
public void setVerbose(boolean on)
public void actionPerformed(ActionEvent e)
© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.