ptolemy.vergil.basic
Class BasicGraphFrame.SaveAction

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

Save the current model.


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.SaveAction(java.lang.String description)
          Construct a save action.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Save the current layout.
 
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.SaveAction

public BasicGraphFrame.SaveAction(java.lang.String description)
Construct a save 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)
Save the current layout.

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