ca.sqlpower.architect.swingui.action
Class ZoomAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by ca.sqlpower.architect.swingui.action.AbstractArchitectAction
          extended by ca.sqlpower.architect.swingui.action.ZoomAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.beans.PropertyChangeListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action

public class ZoomAction
extends AbstractArchitectAction
implements java.beans.PropertyChangeListener

See Also:
Serialized Form

Field Summary
static java.lang.String ZOOM_ALL
           
static java.lang.String ZOOM_IN
           
static java.lang.String ZOOM_OUT
           
protected  double zoomStep
           
 
Fields inherited from class ca.sqlpower.architect.swingui.action.AbstractArchitectAction
frame, playpen, session
 
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
ZoomAction(ArchitectSwingSession session, PlayPen pp, double amount)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 void propertyChange(java.beans.PropertyChangeEvent e)
           
 
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
 

Field Detail

zoomStep

protected double zoomStep

ZOOM_IN

public static final java.lang.String ZOOM_IN
See Also:
Constant Field Values

ZOOM_OUT

public static final java.lang.String ZOOM_OUT
See Also:
Constant Field Values

ZOOM_ALL

public static final java.lang.String ZOOM_ALL
See Also:
Constant Field Values
Constructor Detail

ZoomAction

public ZoomAction(ArchitectSwingSession session,
                  PlayPen pp,
                  double amount)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent e)
Specified by:
propertyChange in interface java.beans.PropertyChangeListener


Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca