Class SensitivityChooserHandler

java.lang.Object
fr.ifremer.isisfish.ui.sensitivity.SensitivityChooserHandler

public class SensitivityChooserHandler extends Object
  • Field Details

  • Constructor Details

    • SensitivityChooserHandler

      public SensitivityChooserHandler(SensitivityChooserUI sensitivityChooserUI)
  • Method Details

    • getParameters

      @Deprecated protected SimulationParameter getParameters()
      Deprecated.
      maybe be inherited
      Return simulation parameters from context.
      Returns:
      SimulationParameter
    • getFactorGroup

      @Deprecated protected FactorGroup getFactorGroup()
      Deprecated.
      maybe be inherited
      Return factor group from context.
      Returns:
      FactorGroup
    • initSensitivityAnalysisModel

      protected void initSensitivityAnalysisModel(StorageChangeEvent evt)
    • initAvailableExportListModel

      protected void initAvailableExportListModel(StorageChangeEvent evt)
    • afterInit

      protected void afterInit()
    • refreshSelectedSensitivityAnalysis

      public void refreshSelectedSensitivityAnalysis()
      Auto select analysis in JComboBox with analysis selected in SimulAction. Used by "reloadOldSimulation" operation.
    • sensitivityAnalysisChanged

      protected void sensitivityAnalysisChanged()
    • setFactorCardinalityTableModel

      public void setFactorCardinalityTableModel()
    • addExports

      protected void addExports()
      Add multiples export. Export name can be duplicated.
    • removeExports

      protected void removeExports()
      Remove multiple export.
    • duplicateExports

      public void duplicateExports()
    • setSensitivityExportListModel

      public void setSensitivityExportListModel()
      Set model (refresh export JList).
    • availableSensitivityExportSelection

      protected void availableSensitivityExportSelection()
      When selection change on available export list.
    • selectedSensitivityExportSelection

      protected void selectedSensitivityExportSelection()
      When selection change on choosen export list.
    • setExportParams

      protected void setExportParams()
      Fill export parameters names and values in table.
    • getSensitivityExportNames

      protected List<String> getSensitivityExportNames()
    • getSensitivityExports

      public List<SensitivityExport> getSensitivityExports()
    • addSensitivityExport

      public void addSensitivityExport(SensitivityChooserUI sensitivityChooserUI, String name)
    • removeSensitivityExport

      public void removeSensitivityExport(SensitivityExport export)
      Remove an export.
      Parameters:
      export - export to remove
    • getSensitivityAnalysisNames

      protected List<String> getSensitivityAnalysisNames()
      Return sensitivity analysis name without .java extension.
      Returns:
      sensitivity analysis names list
    • getSensitivityAnalysis

      public SensitivityAnalysis getSensitivityAnalysis()
      Get current sensitivity calculator instance.
      Returns:
      sensitivity calculator
    • getSensitivityAnalysisInstance

      public SensitivityAnalysis getSensitivityAnalysisInstance(String name)
      Build a new sensitivity calculator instance by his name.
      Parameters:
      name - calculator name
      Returns:
      instance
    • setSensitivityAnalysis

      public void setSensitivityAnalysis(SensitivityAnalysis sensitivityAnalysis)
      Set calculator instance to use.
      Parameters:
      sensitivityAnalysis - new instance