ilog.cpl.network.action.toolbar
Class IlpNetworkZoomOutAction
java.lang.Object
javax.swing.AbstractAction
ilog.cpl.graph.action.toolbar.IlpAbstractGraphAction
ilog.cpl.network.action.toolbar.IlpNetworkZoomInAction
ilog.cpl.network.action.toolbar.IlpNetworkZoomOutAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public class IlpNetworkZoomOutAction
- extends IlpNetworkZoomInAction
This action decreases the zoom factor by a constant factor.
- Since:
- JTGO 3.0
- See Also:
IlpNetworkZoomOutButton,
IlpNetworkZoomInAction,
Serialized Form
|
Method Summary |
double |
getZoomFactor()
Returns the zoom factor used by this action. |
void |
setZoomFactor(double factor)
Sets the zoom factor used by this action. |
IlpNetworkZoomOutAction
public IlpNetworkZoomOutAction(IlpViewsView view,
double zoomFactor)
- Creates the action.
- Parameters:
view - The view on which to operate.zoomFactor - The zoom factor to be applied.
setZoomFactor
public void setZoomFactor(double factor)
- Sets the zoom factor used by this action.
- Overrides:
setZoomFactor in class IlpNetworkZoomInAction
- Since:
- JTGO 4.0
getZoomFactor
public double getZoomFactor()
- Returns the zoom factor used by this action.
- Overrides:
getZoomFactor in class IlpNetworkZoomInAction
- Since:
- JTGO 4.0
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage. . All Rights Reserved.