Class GraphicsWindow.ExportAction

java.lang.Object
javax.swing.AbstractAction
uk.ac.starlink.topcat.BasicAction
uk.ac.starlink.topcat.plot.GraphicsWindow.ExportAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action
Enclosing class:
GraphicsWindow

protected abstract class GraphicsWindow.ExportAction extends BasicAction
Actions for exporting the plot to a file.
See Also:
  • Method Details

    • exportTo

      public abstract void exportTo(OutputStream out) throws IOException
      Performs the export by writing bytes to a given stream. Implementations should not close the stream after writing.
      Parameters:
      out - destination stream
      Throws:
      IOException
    • actionPerformed

      public void actionPerformed(ActionEvent evt)