Package ptolemy.vergil.basic
Class BasicGraphFrame.ExportImageAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- ptolemy.vergil.basic.BasicGraphFrame.ExportImageAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener
,java.io.Serializable
,java.lang.Cloneable
,java.util.EventListener
,javax.swing.Action
- Enclosing class:
- BasicGraphFrame
public class BasicGraphFrame.ExportImageAction extends javax.swing.AbstractAction
Export an image of the model.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExportImageAction(java.lang.String formatName)
Create a new action to export an image.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(java.awt.event.ActionEvent e)
Export an image.-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
Export an image.Under Mac OS X, use java.awt.FileDialog. Under other OS's, use javax.swing.JFileChooser. Under Mac OS X, see
PtGUIUtilities.useFileDialog()
for how to select between the two.- Parameters:
e
- The event that triggered this action.
-
-