ptolemy.vergil.basic
Class BasicGraphFrame.ZoomResetAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by ptolemy.vergil.basic.BasicGraphFrame.ZoomResetAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Enclosing class:
BasicGraphFrame

private class BasicGraphFrame.ZoomResetAction
extends javax.swing.AbstractAction

An action to reset zoom.


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
BasicGraphFrame.ZoomResetAction(java.lang.String description)
          Construct a zoom reset action.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Reset the zoom.
 
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

BasicGraphFrame.ZoomResetAction

public BasicGraphFrame.ZoomResetAction(java.lang.String description)
Construct a zoom reset action.

Parameters:
description - A string that describes the action. Spaces are permitted, each word is usually capitalized.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Reset the zoom.

Parameters:
e - The action event, ignored by this method.