public class CATExportTool extends REpiceaExportTool
| Modifier and Type | Class and Description |
|---|---|
static class |
CATExportTool.ExportOption |
REpiceaExportTool.FieldName, REpiceaExportTool.InternalSwingWorkerForRecordSetappendFileEnabled, guiInterface, multipleSelection, saveFileEnabled, selectedExportOptions| Constructor and Description |
|---|
CATExportTool(SettingMemory memorySettings,
CATSimulationResult summary)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Vector<java.lang.Enum> |
defineAvailableExportOptions()
This method sets the available export options.
|
java.util.Map<java.lang.Enum,REpiceaRecordSet> |
exportRecordSets()
This method creates the different record sets depending on the selected export options.
|
protected java.util.List<java.lang.Enum> |
getAvailableExportOptions() |
protected REpiceaExportTool.InternalSwingWorkerForRecordSet |
instantiateInternalSwingWorkerForRecordSet(java.lang.Enum selectedOption,
REpiceaRecordSet recordSet)
This abstract method instantiates an InternalSwingWorkerForRecordSet-derived class, which is supposed to
handle the construction of the GRecordSet instance.
|
java.util.List<java.lang.Enum> |
setAllAvailableOptions()
This method sets the selected options to all the possible options.
|
void |
setSaveFileEnabled(boolean bool)
This method makes it possible to disable the saving to file.
|
caretUpdate, createRecordSets, getFilename, getSelectedExportOptions, getUI, isAppendFileEnabled, isCanceled, isVisible, removeExportOption, setAppendFileEnabled, setCanceled, setFilename, setMultipleSelection, setSelectedOptions, showUI, valueChangedpublic CATExportTool(SettingMemory memorySettings, CATSimulationResult summary) throws java.lang.Exception
summary - a CarbonAccountingToolExportSummary instancejava.lang.Exceptionpublic void setSaveFileEnabled(boolean bool)
REpiceaExportToolsetSaveFileEnabled in class REpiceaExportToolbool - a booleanpublic java.util.Map<java.lang.Enum,REpiceaRecordSet> exportRecordSets() throws java.lang.Exception
REpiceaExportToolexportRecordSets in class REpiceaExportTooljava.lang.Exceptionprotected java.util.Vector<java.lang.Enum> defineAvailableExportOptions()
REpiceaExportTooldefineAvailableExportOptions in class REpiceaExportToolprotected java.util.List<java.lang.Enum> getAvailableExportOptions()
getAvailableExportOptions in class REpiceaExportToolprotected REpiceaExportTool.InternalSwingWorkerForRecordSet instantiateInternalSwingWorkerForRecordSet(java.lang.Enum selectedOption, REpiceaRecordSet recordSet)
REpiceaExportToolinstantiateInternalSwingWorkerForRecordSet in class REpiceaExportToolselectedOption - the selected output formatrecordSet - a REpiceaRecordSet instancepublic java.util.List<java.lang.Enum> setAllAvailableOptions()
throws java.lang.Exception
java.lang.Exception