org.osm2world.viewer.control.actions
Class ExportScreenshotAction

Object
  extended by AbstractAction
      extended by AbstractExportAction
          extended by ExportScreenshotAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Observer, Action

public class ExportScreenshotAction
extends AbstractExportAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class AbstractExportAction
data, messageManager, renderOptions, viewerFrame
 
Fields inherited from class AbstractAction
changeSupport, enabled
 
Fields 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
 
Constructor Summary
ExportScreenshotAction(ViewerFrame viewerFrame, Data data, MessageManager messageManager, RenderOptions renderOptions)
           
 
Method Summary
protected  FileNameExtensionFilter getFileNameExtensionFilter()
           
protected  void performExport(File file)
           
 
Methods inherited from class AbstractExportAction
actionPerformed, chooseDirectory, update
 
Methods inherited from class AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportScreenshotAction

public ExportScreenshotAction(ViewerFrame viewerFrame,
                              Data data,
                              MessageManager messageManager,
                              RenderOptions renderOptions)
Method Detail

getFileNameExtensionFilter

protected FileNameExtensionFilter getFileNameExtensionFilter()
Specified by:
getFileNameExtensionFilter in class AbstractExportAction

performExport

protected void performExport(File file)
                      throws HeadlessException
Specified by:
performExport in class AbstractExportAction
Throws:
HeadlessException