ilog.cpl.equipment.action.toolbar
Class IlpEquipmentZoomOutAction
java.lang.Object
javax.swing.AbstractAction
ilog.cpl.graph.action.toolbar.IlpAbstractGraphAction
ilog.cpl.equipment.action.toolbar.IlpEquipmentZoomInAction
ilog.cpl.equipment.action.toolbar.IlpEquipmentZoomOutAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
public class IlpEquipmentZoomOutAction
- extends IlpEquipmentZoomInAction
This action decreases the zoom factor by a constant factor.
- Since:
- JTGO 4.0
- See Also:
IlpEquipmentZoomOutButton,
IlpEquipmentZoomInAction,
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. |
IlpEquipmentZoomOutAction
public IlpEquipmentZoomOutAction(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 IlpEquipmentZoomInAction
- Since:
- JTGO 4.0
getZoomFactor
public double getZoomFactor()
- Returns the zoom factor used by this action.
- Overrides:
getZoomFactor in class IlpEquipmentZoomInAction
- Since:
- JTGO 4.0
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage. . All Rights Reserved.