public class MarkerSessionExporter extends Object implements SessionLayerExporter
Modifier and Type | Class and Description |
---|---|
static class |
MarkerSessionExporter.MarkerWriter |
Modifier and Type | Field and Description |
---|---|
private JCheckBox |
export |
private MarkerLayer |
layer |
Constructor and Description |
---|
MarkerSessionExporter(MarkerLayer layer) |
Modifier and Type | Method and Description |
---|---|
protected void |
addDataFile(OutputStream out) |
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 MarkerLayer layer
public MarkerSessionExporter(MarkerLayer 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
public boolean requiresZip()
SessionLayerExporter
requiresZip
in interface SessionLayerExporter
public Element export(SessionWriter.ExportSupport support) throws IOException
SessionLayerExporter
support
to save files in the zip archive as needed.export
in interface SessionLayerExporter
IOException
protected void addDataFile(OutputStream out) throws IOException
IOException