Package uk.ac.starlink.topcat.plot
Class GraphicsWindow.ExportAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- uk.ac.starlink.topcat.BasicAction
-
- uk.ac.starlink.topcat.plot.GraphicsWindow.ExportAction
-
- All Implemented Interfaces:
java.awt.event.ActionListener,java.io.Serializable,java.lang.Cloneable,java.util.EventListener,javax.swing.Action
- Enclosing class:
- GraphicsWindow
protected abstract class GraphicsWindow.ExportAction extends BasicAction
Actions for exporting the plot to a file.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent evt)abstract voidexportTo(java.io.OutputStream out)Performs the export by writing bytes to a given stream.-
Methods inherited from class uk.ac.starlink.topcat.BasicAction
getEventWindow
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Method Detail
-
exportTo
public abstract void exportTo(java.io.OutputStream out) throws java.io.IOExceptionPerforms the export by writing bytes to a given stream. Implementations should not close the stream after writing.- Parameters:
out- destination stream- Throws:
java.io.IOException
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
-
-