org.apache.batik.swing
Class JSVGCanvas.ZoomAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byorg.apache.batik.swing.JSVGCanvas.AffineAction
          extended byorg.apache.batik.swing.JSVGCanvas.ZoomAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable
Direct Known Subclasses:
JSVGCanvas.ZoomInAction, JSVGCanvas.ZoomOutAction
Enclosing class:
JSVGCanvas

public class JSVGCanvas.ZoomAction
extends JSVGCanvas.AffineAction

A swing action to apply a zoom factor to the canvas. This can be used to zoom in (scale > 1) and out (scale <1).

See Also:
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
JSVGCanvas.ZoomAction(double scale)
           
JSVGCanvas.ZoomAction(double scaleX, double scaleY)
           
 
Methods inherited from class org.apache.batik.swing.JSVGCanvas.AffineAction
actionPerformed
 
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
 

Constructor Detail

JSVGCanvas.ZoomAction

public JSVGCanvas.ZoomAction(double scale)

JSVGCanvas.ZoomAction

public JSVGCanvas.ZoomAction(double scaleX,
                             double scaleY)


Copyright ? 2005 Apache Software Foundation. All Rights Reserved.