public class GpxTracksSessionExporter extends Object implements SessionLayerExporter
| Modifier and Type | Field and Description |
|---|---|
private JCheckBox |
export |
private JRadioButton |
include |
private GpxLayer |
layer |
private JRadioButton |
link |
| Constructor and Description |
|---|
GpxTracksSessionExporter(GpxLayer layer)
Constructs a new
GpxTracksSessionExporter. |
| 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 JRadioButton link
private JRadioButton include
public GpxTracksSessionExporter(GpxLayer layer)
GpxTracksSessionExporter.layer - GPX layer to exportpublic Collection<Layer> getDependencies()
SessionLayerExportergetDependencies in interface SessionLayerExporterpublic Component getExportPanel()
SessionLayerExportergetExportPanel in interface SessionLayerExporterpublic boolean shallExport()
SessionLayerExportershallExport in interface SessionLayerExportertrue if the layer should be included in the list of exported layers, false otherwise.public boolean requiresZip()
SessionLayerExporterrequiresZip in interface SessionLayerExportertrue if some data needs to be included in the zip archive, false otherwise.public Element export(SessionWriter.ExportSupport support) throws IOException
SessionLayerExportersupport to save files in the zip archive as needed.export in interface SessionLayerExportersupport - support class providing export utilitiesIOException - if any I/O error occursprotected void addDataFile(OutputStream out)