Class RuleParametersFactorTableCellEditor

java.lang.Object
javax.swing.AbstractCellEditor
fr.ifremer.isisfish.ui.models.rule.RuleParametersFactorTableCellEditor
All Implemented Interfaces:
Serializable, CellEditor, TableCellEditor

public class RuleParametersFactorTableCellEditor extends AbstractCellEditor implements TableCellEditor
Specific editor for rule parameters.
Version:
$Revision$ Last update : $Date$ By : $Author$
Author:
chatellier
See Also:
  • Field Details

    • ruleChooser

      protected RuleChooser ruleChooser
    • rule

      protected Rule rule
  • Constructor Details

    • RuleParametersFactorTableCellEditor

      public RuleParametersFactorTableCellEditor(RuleChooser ruleChooser, Rule rule)
      Constructor. Super dependant de l'ui RuleChooser.
      Parameters:
      ruleChooser - rule chooser ui
      rule - rule
  • Method Details

    • getTableCellEditorComponent

      public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
      Specified by:
      getTableCellEditorComponent in interface TableCellEditor
    • getCellEditorValue

      public Object getCellEditorValue()
      Specified by:
      getCellEditorValue in interface CellEditor
    • addRuleParameterFactor

      public void addRuleParameterFactor(RuleChooser ruleChooser, Rule rule, String paramName)
      Ajout d'un nouveau facteur sur un parametres de règles. Le facteur est directement crée avec un nom et un path correct.
      Parameters:
      ruleChooser - rule chooser
      rule - rule
      paramName - rule parameter name