ilog.views.maps.export
Interface IlvMapExportManager.IlvMapExporter

All Known Implementing Classes:
IlvKMLExporter, IlvSDOExporter, IlvShapeExporter
Enclosing class:
IlvMapExportManager

public static interface IlvMapExportManager.IlvMapExporter

Interface implemented by any object capable of exporting a collection of IlvMapFeature objects.

Since:
JViews 7.5

Method Summary
 void exportFeature(IlvMapFeature feature, IlvMapLayer layer)
          Export one IlvMapFeature
 void finishExport()
          This method is called by the IlvMapExportManager when all features are exported.
 void initExport(IlvMapLayer[] exportedLayers)
          Prepare this exporter to export a collection of IlvMapFeature objects.
 void showConfigurationDialog(JDialog parent)
          Shows a configuration dialog for this exporter
 String toString()
          Returns A String describing this exporter (displayable in a combo box in the maps exporter GUI)
 

Method Detail

exportFeature

void exportFeature(IlvMapFeature feature,
                   IlvMapLayer layer)
Export one IlvMapFeature

Parameters:
feature - the IlvMapFeature to export.
layer - the IlvMapLayer containing the IlvMapFeature in parameter

initExport

void initExport(IlvMapLayer[] exportedLayers)
Prepare this exporter to export a collection of IlvMapFeature objects.

Parameters:
exportedLayers - an array of IlvMapLayer whose objects are going to be exported through the exportFeature method.

finishExport

void finishExport()
This method is called by the IlvMapExportManager when all features are exported. This method could close opened file input streams, for instance.


showConfigurationDialog

void showConfigurationDialog(JDialog parent)
Shows a configuration dialog for this exporter

Parameters:
parent - the JDialog that should be used as a parent when displaying a sub dialog

toString

String toString()
Returns A String describing this exporter (displayable in a combo box in the maps exporter GUI)

Overrides:
toString in class Object
Returns:
A String describing this exporter (displayable in a combo box in the maps exporter GUI)


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.