ilog.cpl.equipment.action.toolbar
Class IlpEquipmentZoomInAction
java.lang.Object
javax.swing.AbstractAction
ilog.cpl.graph.action.toolbar.IlpAbstractGraphAction
ilog.cpl.equipment.action.toolbar.IlpEquipmentZoomInAction
- All Implemented Interfaces:
- ActionListener, Serializable, Cloneable, EventListener, Action
- Direct Known Subclasses:
- IlpEquipmentZoomOutAction
public class IlpEquipmentZoomInAction
- extends IlpAbstractGraphAction
This action increases the zoom factor by a constant factor.
- Since:
- JTGO 4.0
- See Also:
IlpEquipmentZoomInButton,
Serialized Form
|
Method Summary |
void |
actionPerformed(ActionEvent e)
|
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. |
IlpEquipmentZoomInAction
public IlpEquipmentZoomInAction(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.
- Since:
- JTGO 4.0
getZoomFactor
public double getZoomFactor()
- Returns the zoom factor used by this action.
- Since:
- JTGO 4.0
isVerbose
public boolean isVerbose()
- Returns true if the action will print the resulting view transformer.
setVerbose
public void setVerbose(boolean on)
- Determines whether the action will print the resulting view transformer.
actionPerformed
public void actionPerformed(ActionEvent e)
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage. . All Rights Reserved.