public static class SpeciesFrequencyCellComponent.FrequencyCellEditor extends AbstractCellEditor implements TableCellEditor
| Modifier and Type | Field and Description |
|---|---|
protected ColumnIdentifier<SpeciesBatchRowModel> |
columnIdentifier |
protected Integer |
columnIndex |
protected SpeciesFrequencyCellComponent |
component |
protected SpeciesBatchRowModel |
editRow |
protected Integer |
rowIndex |
protected JTable |
table |
protected SpeciesBatchTableModel |
tableModel |
protected SpeciesBatchUI |
ui |
changeEvent, listenerList| Constructor and Description |
|---|
SpeciesFrequencyCellComponent.FrequencyCellEditor(SpeciesBatchUI ui,
Color computedDataColor) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelCellEditing() |
Object |
getCellEditorValue() |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
void |
startEdit() |
void |
validateEdition(SpeciesFrequencyUIModel frequencyModel) |
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, isCellEditable, removeCellEditorListener, shouldSelectCell, stopCellEditingprotected final SpeciesFrequencyCellComponent component
protected final SpeciesBatchUI ui
protected JTable table
protected SpeciesBatchTableModel tableModel
protected ColumnIdentifier<SpeciesBatchRowModel> columnIdentifier
protected SpeciesBatchRowModel editRow
protected Integer rowIndex
protected Integer columnIndex
public SpeciesFrequencyCellComponent.FrequencyCellEditor(SpeciesBatchUI ui, Color computedDataColor)
public void startEdit()
public void validateEdition(SpeciesFrequencyUIModel frequencyModel)
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent in interface TableCellEditorpublic Object getCellEditorValue()
getCellEditorValue in interface CellEditorpublic void cancelCellEditing()
cancelCellEditing in interface CellEditorcancelCellEditing in class AbstractCellEditorCopyright © 2012-2013 Ifremer. All Rights Reserved.