org.argouml.uml.ui
Class ActionZoom

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--org.argouml.uml.ui.UMLAction
              |
              +--org.argouml.uml.ui.ActionZoom
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

Deprecated. ActionZoom is obsolete, not used in ArgoUML and was replaced by GEF's CmdZoom.

public class ActionZoom
extends UMLAction

Since:
0.13.5
See Also:
Serialized Form

Field Summary
protected  double _scale
          Deprecated.  
 
Fields inherited from class org.argouml.uml.ui.UMLAction
cat, HAS_ICON, NO_ICON
 
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
ActionZoom(int scale_percent)
          Deprecated.  
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
          Deprecated. This action changes the scale factor of the editor and triggers a redraw of the editor pane.
 boolean shouldBeEnabled()
          Deprecated. We can always zoom.
 
Methods inherited from class org.argouml.uml.ui.UMLAction
getMnemonic, getShortcut, isEnabled, markNeedsSave, stripJunk, updateEnabled, updateEnabled
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_scale

protected double _scale
Deprecated. 
Constructor Detail

ActionZoom

public ActionZoom(int scale_percent)
Deprecated. 
Method Detail

shouldBeEnabled

public boolean shouldBeEnabled()
Deprecated. 
We can always zoom.

Overrides:
shouldBeEnabled in class UMLAction

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Deprecated. 
This action changes the scale factor of the editor and triggers a redraw of the editor pane.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
Overrides:
actionPerformed in class UMLAction


ArgoUML © 1996-2003 (20040216)ArgoUML Project HomeArgoUML Cookbook