public class CommentCellEditor extends AbstractCellEditor implements TableCellEditor
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
columnIndex |
protected ButtonComment |
editorButton |
protected Integer |
rowIndex |
protected JTable |
table |
protected org.nuiton.jaxx.application.swing.table.AbstractApplicationTableModel<AbstractTuttiBeanUIModel> |
tableModel |
changeEvent, listenerList| Constructor and Description |
|---|
CommentCellEditor(TuttiUIContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelCellEditing() |
Object |
getCellEditorValue() |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
static TableCellEditor |
newEditor(TuttiUI ui) |
boolean |
shouldSelectCell(EventObject anEvent) |
boolean |
stopCellEditing() |
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, isCellEditable, removeCellEditorListenerprotected JTable table
protected org.nuiton.jaxx.application.swing.table.AbstractApplicationTableModel<AbstractTuttiBeanUIModel> tableModel
protected Integer rowIndex
protected Integer columnIndex
protected final ButtonComment editorButton
public CommentCellEditor(TuttiUIContext context)
public static TableCellEditor newEditor(TuttiUI ui)
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent in interface TableCellEditorpublic boolean shouldSelectCell(EventObject anEvent)
shouldSelectCell in interface CellEditorshouldSelectCell in class AbstractCellEditorpublic Object getCellEditorValue()
getCellEditorValue in interface CellEditorpublic boolean stopCellEditing()
stopCellEditing in interface CellEditorstopCellEditing in class AbstractCellEditorpublic void cancelCellEditing()
cancelCellEditing in interface CellEditorcancelCellEditing in class AbstractCellEditorCopyright © 2012–2014 Ifremer. All rights reserved.