org.acm.seguin.ide.jbuilder
Class ZoomAction

java.lang.Object
  extended by UpdateAction
      extended by org.acm.seguin.ide.jbuilder.JBuilderAction
          extended by org.acm.seguin.ide.jbuilder.ZoomAction

public class ZoomAction
extends JBuilderAction

Zooms in on a diagram by the specified factor

Author:
Chris Seguin

Field Summary
 
Fields inherited from class org.acm.seguin.ide.jbuilder.JBuilderAction
enabled
 
Constructor Summary
ZoomAction(double init)
          Constructor for the ZoomAction object
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
          Updates the diagram when the user zooms to this level
 boolean isEnabled()
          Determines if this menu item should be enabled
 
Methods inherited from class org.acm.seguin.ide.jbuilder.JBuilderAction
setEnabled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZoomAction

public ZoomAction(double init)
Constructor for the ZoomAction object

Parameters:
init - Description of Parameter
Method Detail

isEnabled

public boolean isEnabled()
Determines if this menu item should be enabled

Returns:
The Enabled value

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Updates the diagram when the user zooms to this level

Specified by:
actionPerformed in class JBuilderAction
Parameters:
evt - the action event