fr.ifremer.isisfish.ui.widget.editor
Class ParameterTableCellEditor
java.lang.Object
javax.swing.AbstractCellEditor
fr.ifremer.isisfish.ui.widget.editor.ParameterTableCellEditor
- All Implemented Interfaces:
- Serializable, CellEditor, TableCellEditor
- Direct Known Subclasses:
- AnalyzePlanParametersTableCellEditor, ExportParametersTableCellEditor, RuleParametersTableCellEditor, SensitivityCalculatorParametersTableCellEditor, SensitivityExportParametersTableCellEditor
public class ParameterTableCellEditor
- extends AbstractCellEditor
- implements TableCellEditor
ParameterTableCellEditor.
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: 2336 $
Last update: $Date: 2009-06-08 14:47:41 +0200 (lun. 08 juin 2009) $
by : $Author: chatellier $
- Author:
- poussin, chemit
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
region
protected RegionStorage region
editor
protected Component editor
type
protected Class<?> type
ParameterTableCellEditor
public ParameterTableCellEditor()
getRegion
public RegionStorage getRegion()
- Returns:
- Returns the topiaContext.
setRegion
public void setRegion(RegionStorage region)
- Parameters:
region - The topiaContext to set.
getTableCellEditorComponent
public Component getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column)
- Specified by:
getTableCellEditorComponent in interface TableCellEditor
getType
protected Class<?> getType(Object value,
int row,
int column)
- Get type for value.
Must be overridden (value can be null).
- Parameters:
value - row - column -
- Returns:
- type for value
getComboListener
protected ActionListener getComboListener()
getCellEditorValue
public Object getCellEditorValue()
- Specified by:
getCellEditorValue in interface CellEditor
getTextFieldValue
protected Object getTextFieldValue(Component editor)
getComboBoxValue
protected Object getComboBoxValue(Component editor)
getComboBoxIndex
protected int getComboBoxIndex(Component editor)
Copyright © 1999-2011 CodeLutin. All Rights Reserved.