public class ImagerySessionExporter extends Object implements SessionLayerExporter
Modifier and Type | Field and Description |
---|---|
private JCheckBox |
export |
private ImageryLayer |
layer |
Constructor and Description |
---|
ImagerySessionExporter(ImageryLayer layer) |
ImagerySessionExporter(TMSLayer layer) |
ImagerySessionExporter(WMSLayer layer) |
ImagerySessionExporter(WMTSLayer layer) |
Modifier and Type | Method and Description |
---|---|
Element |
export(SessionWriter.ExportSupport support)
Save meta data to the .jos file.
|
Collection<Layer> |
getDependencies()
Return the Layers, this Layer depends on.
|
Component |
getExportPanel()
The GUI for exporting this layer.
|
boolean |
requiresZip()
Return true, if some data needs to be included in the zip archive.
|
boolean |
shallExport()
Return true, if the layer should be included in the list of exported layers.
|
private ImageryLayer layer
public ImagerySessionExporter(ImageryLayer layer)
public ImagerySessionExporter(TMSLayer layer)
public ImagerySessionExporter(WMSLayer layer)
public ImagerySessionExporter(WMTSLayer layer)
public Collection<Layer> getDependencies()
SessionLayerExporter
getDependencies
in interface SessionLayerExporter
public Component getExportPanel()
SessionLayerExporter
getExportPanel
in interface SessionLayerExporter
public boolean shallExport()
SessionLayerExporter
shallExport
in interface SessionLayerExporter
true
if the layer should be included in the list of exported layers, false
otherwise.public boolean requiresZip()
SessionLayerExporter
requiresZip
in interface SessionLayerExporter
true
if some data needs to be included in the zip archive, false
otherwise.public Element export(SessionWriter.ExportSupport support) throws IOException
SessionLayerExporter
support
to save files in the zip archive as needed.export
in interface SessionLayerExporter
support
- support class providing export utilitiesIOException
- if any I/O error occurs