public class CATExportTool extends REpiceaExportTool
Modifier and Type | Class and Description |
---|---|
static class |
CATExportTool.ExportOption |
REpiceaExportTool.FieldName, REpiceaExportTool.InternalSwingWorkerForRecordSet
appendFileEnabled, 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, valueChanged
public CATExportTool(SettingMemory memorySettings, CATSimulationResult summary) throws java.lang.Exception
summary
- a CarbonAccountingToolExportSummary instancejava.lang.Exception
public void setSaveFileEnabled(boolean bool)
REpiceaExportTool
setSaveFileEnabled
in class REpiceaExportTool
bool
- a booleanpublic java.util.Map<java.lang.Enum,REpiceaRecordSet> exportRecordSets() throws java.lang.Exception
REpiceaExportTool
exportRecordSets
in class REpiceaExportTool
java.lang.Exception
protected java.util.Vector<java.lang.Enum> defineAvailableExportOptions()
REpiceaExportTool
defineAvailableExportOptions
in class REpiceaExportTool
protected java.util.List<java.lang.Enum> getAvailableExportOptions()
getAvailableExportOptions
in class REpiceaExportTool
protected REpiceaExportTool.InternalSwingWorkerForRecordSet instantiateInternalSwingWorkerForRecordSet(java.lang.Enum selectedOption, REpiceaRecordSet recordSet)
REpiceaExportTool
instantiateInternalSwingWorkerForRecordSet
in class REpiceaExportTool
selectedOption
- the selected output formatrecordSet
- a REpiceaRecordSet instancepublic java.util.List<java.lang.Enum> setAllAvailableOptions() throws java.lang.Exception
java.lang.Exception