ilog.cpl.equipment.action.toolbar
Class IlpEquipmentZoomInAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by ilog.cpl.graph.action.toolbar.IlpAbstractGraphAction
          extended by 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

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
IlpEquipmentZoomInAction(IlpViewsView view, double zoomFactor)
          Creates the action.
 
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.
 
Methods inherited from class ilog.cpl.graph.action.toolbar.IlpAbstractGraphAction
getContext, getView
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 

Constructor Detail

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.
Method Detail

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.