Class ParameterTableCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
fr.ifremer.isisfish.ui.widget.editor.ParameterTableCellEditor
- All Implemented Interfaces:
Serializable
,CellEditor
,TableCellEditor
- Direct Known Subclasses:
ScriptParametersParamValueEditor
Un editeur generic de champs qui se base sur le model de données
a editer.
Created: 25 sept. 06 12:35:21
- Version:
- $Revision$ Last update: $Date$ by : $Author$
- Author:
- poussin, chemit
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected Component
protected FactorEditorListener
protected Field
protected RegionStorage
protected org.nuiton.topia.TopiaContext
Fields inherited from class javax.swing.AbstractCellEditor
changeEvent, listenerList
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ActionListener
getTableCellEditorComponent
(JTable table, Object value, boolean isSelected, int row, int column) protected Field
Get type for value.void
setFactorActionListener
(FactorEditorListener factorActionListener) void
setRegionStorage
(RegionStorage regionStorage) Set region storage.void
setTopiaContext
(org.nuiton.topia.TopiaContext topiaContext) 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
-
regionStorage
-
topiaContext
protected org.nuiton.topia.TopiaContext topiaContext -
editor
-
field
-
factorActionListener
-
-
Constructor Details
-
ParameterTableCellEditor
public ParameterTableCellEditor()
-
-
Method Details
-
setRegionStorage
Set region storage.- Parameters:
regionStorage
- the region storage to set.
-
setTopiaContext
public void setTopiaContext(org.nuiton.topia.TopiaContext topiaContext) -
setFactorActionListener
-
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) - Specified by:
getTableCellEditorComponent
in interfaceTableCellEditor
-
getType
Get type for value. Must be overridden (value can be null).- Parameters:
value
-row
-column
-- Returns:
- type for value
-
getStopEditingListener
-
getCellEditorValue
- Specified by:
getCellEditorValue
in interfaceCellEditor
-