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 Summary
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
Constructor Summary
ConstructorDescriptionRuleParametersFactorTableCellEditor
(RuleChooser ruleChooser, Rule rule) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRuleParameterFactor
(RuleChooser ruleChooser, Rule rule, String paramName) Ajout d'un nouveau facteur sur un parametres de règles.getTableCellEditorComponent
(JTable table, Object value, boolean isSelected, int row, int column) Methods inherited from class javax.swing.AbstractCellEditor
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface javax.swing.CellEditor
addCellEditorListener, cancelCellEditing, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditing
-
Field Details
-
ruleChooser
-
rule
-
-
Constructor Details
-
RuleParametersFactorTableCellEditor
Constructor. Super dependant de l'uiRuleChooser
.- Parameters:
ruleChooser
- rule chooser uirule
- rule
-
-
Method Details
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) - Specified by:
getTableCellEditorComponent
in interfaceTableCellEditor
-
getCellEditorValue
- Specified by:
getCellEditorValue
in interfaceCellEditor
-
addRuleParameterFactor
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 chooserrule
- ruleparamName
- rule parameter name
-