Class ExportImageAction
- java.lang.Object
-
- javax.swing.AbstractAction
-
- org.esa.snap.rcp.actions.file.export.AbstractExportImageAction
-
- org.esa.snap.rcp.actions.file.export.ExportImageAction
-
- All Implemented Interfaces:
ActionListener
,Serializable
,Cloneable
,EventListener
,Action
,org.openide.util.ContextAwareAction
,org.openide.util.HelpCtx.Provider
,org.openide.util.LookupListener
public class ExportImageAction extends AbstractExportImageAction
Action for exporting scene views as images.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.esa.snap.rcp.actions.file.export.AbstractExportImageAction
BMP_FORMAT_DESCRIPTION, GEOTIFF_FORMAT_DESCRIPTION, IMAGE_EXPORT_DIR_PREFERENCES_KEY, JPEG_FORMAT_DESCRIPTION, PNG_FORMAT_DESCRIPTION, TIFF_FORMAT_DESCRIPTION
-
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
-
Fields inherited from interface javax.swing.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
Constructors Constructor Description ExportImageAction()
ExportImageAction(org.openide.util.Lookup lookup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
actionPerformed(ActionEvent event)
protected void
configureFileChooser(SnapFileChooser fileChooser, ProductSceneView view, String imageBaseName)
Action
createContextAwareInstance(org.openide.util.Lookup lookup)
protected RenderedImage
createImage(String imageFormat, ProductSceneView view)
protected boolean
isEntireImageSelected()
void
resultChanged(org.openide.util.LookupEvent lookupEvent)
-
Methods inherited from class org.esa.snap.rcp.actions.file.export.AbstractExportImageAction
createFileFilter, exportImage, exportImage, getHelpCtx, isTransparencySupportedByFormat
-
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.swing.Action
accept, addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
-
-
-
Method Detail
-
actionPerformed
public void actionPerformed(ActionEvent event)
-
createContextAwareInstance
public Action createContextAwareInstance(org.openide.util.Lookup lookup)
-
resultChanged
public void resultChanged(org.openide.util.LookupEvent lookupEvent)
-
configureFileChooser
protected void configureFileChooser(SnapFileChooser fileChooser, ProductSceneView view, String imageBaseName)
- Specified by:
configureFileChooser
in classAbstractExportImageAction
-
createImage
protected RenderedImage createImage(String imageFormat, ProductSceneView view)
- Specified by:
createImage
in classAbstractExportImageAction
-
isEntireImageSelected
protected boolean isEntireImageSelected()
- Specified by:
isEntireImageSelected
in classAbstractExportImageAction
-
-