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
Actions for exporting the plot to a file.
- Since:
- 26 Oct 2005
- Author:
- Mark Taylor
- See Also:
-
Field Summary
Fields inherited from class AbstractAction
changeSupport, enabledFields inherited from interface Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON -
Method Summary
Modifier and TypeMethodDescriptionvoidabstract voidexportTo(OutputStream out) Performs the export by writing bytes to a given stream.Methods inherited from class BasicAction
create, getEventWindowMethods inherited from class AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Method Details
-
exportTo
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
-