ilog.cpl.equipment.action.toolbar
Class IlpEquipmentZoomOutAction

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

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
IlpEquipmentZoomOutAction(IlpViewsView view, double zoomFactor)
          Creates the action.
 
Method Summary
 double getZoomFactor()
          Returns the zoom factor used by this action.
 void setZoomFactor(double factor)
          Sets the zoom factor used by this action.
 
Methods inherited from class ilog.cpl.equipment.action.toolbar.IlpEquipmentZoomInAction
actionPerformed, isVerbose, setVerbose
 
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

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

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.