ptolemy.vergil.basic
Class BasicGraphFrame.ZoomFitAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by ptolemy.vergil.basic.BasicGraphFrame.ZoomFitAction
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.ZoomFitAction
extends javax.swing.AbstractAction

An action to zoom fit.


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.ZoomFitAction(java.lang.String description)
          Construct a zoom fit action.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Zoom so that the entire graph is visible.
 
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.ZoomFitAction

public BasicGraphFrame.ZoomFitAction(java.lang.String description)
Construct a zoom fit 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)
Zoom so that the entire graph is visible.

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