deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.tools.app3d
Class Export3DFile

java.lang.Object
  extended by org.deegree.tools.app3d.Export3DFile

public class Export3DFile
extends java.lang.Object

Export3DFile shows a dialog to the user in which export parameters can be set, and calls the appropriate export method.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
Author:
Rutger Bezema, last edited by: $Author: mschneider $

Field Summary
(package private)  java.util.Map<java.lang.String,java.lang.String> exportClasses
          A list of class which are able to export and their description.
(package private)  javax.swing.JDialog exportDialog
          Shows the export dialog (wizard)
(package private)  javax.swing.ButtonGroup exporterGroup
          A button group to handle to activation of only one exporter.
(package private)  boolean okClicked
          Will be true if the parameter dialog was ended with the 'ok' button.
(package private)  java.util.Map<java.lang.String,java.lang.String> originalMap
          Holds all parameters which can be given to the exporter.
(package private)  java.util.Map<java.lang.String,javax.swing.JComponent> paramFields
          Convenient map, which holds the mapping of the parameters to the components
(package private)  java.util.Map<java.lang.String,java.lang.String> resultMap
          Holds all parameters set by the user
(package private)  java.lang.String selectedExporter
          Will hold a class name of the exporter selected by the user (set in the anonymous Actionlistener of the the ok-button of the ExportDialog)
 
Constructor Summary
Export3DFile(View3DFile parent)
           
 
Method Summary
 java.lang.StringBuilder exportBranchgroup(javax.media.j3d.BranchGroup toExport)
           
 java.util.Map<java.lang.String,java.lang.String> getResultMap()
           
 boolean isOkClicked()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

paramFields

java.util.Map<java.lang.String,javax.swing.JComponent> paramFields
Convenient map, which holds the mapping of the parameters to the components


resultMap

java.util.Map<java.lang.String,java.lang.String> resultMap
Holds all parameters set by the user


originalMap

java.util.Map<java.lang.String,java.lang.String> originalMap
Holds all parameters which can be given to the exporter.


okClicked

boolean okClicked
Will be true if the parameter dialog was ended with the 'ok' button.


exportClasses

java.util.Map<java.lang.String,java.lang.String> exportClasses
A list of class which are able to export and their description.


selectedExporter

java.lang.String selectedExporter
Will hold a class name of the exporter selected by the user (set in the anonymous Actionlistener of the the ok-button of the ExportDialog)


exporterGroup

javax.swing.ButtonGroup exporterGroup
A button group to handle to activation of only one exporter.


exportDialog

javax.swing.JDialog exportDialog
Shows the export dialog (wizard)

Constructor Detail

Export3DFile

public Export3DFile(View3DFile parent)
Parameters:
parent - of the dialog
Method Detail

exportBranchgroup

public java.lang.StringBuilder exportBranchgroup(javax.media.j3d.BranchGroup toExport)
Parameters:
toExport - the actual branchgroup
Returns:
the String representation of the exported branch group.

getResultMap

public java.util.Map<java.lang.String,java.lang.String> getResultMap()
Returns:
the resultMap.

isOkClicked

public boolean isOkClicked()
Returns:
the okClicked.

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org