public static class LongTextCellComponent.LongTextCellEditor extends AbstractCellEditor implements TableCellEditor
| Modifier and Type | Field and Description |
|---|---|
protected ColumnIdentifier<AbstractTuttiBeanUIModel> |
columnIdentifier |
protected Integer |
columnIndex |
protected LongTextCellComponent |
component |
static int |
DEFAULT_EDITOR_HEIGHT |
static int |
DEFAULT_EDITOR_WIDTH |
protected AbstractTuttiBeanUIModel |
editRow |
protected Frame |
frame |
protected Integer |
rowIndex |
protected JTable |
table |
protected AbstractTuttiTableModel<AbstractTuttiBeanUIModel> |
tableModel |
protected LongTextEditorUI |
ui |
changeEvent, listenerList| Constructor and Description |
|---|
LongTextCellComponent.LongTextCellEditor(LongTextEditorUI ui) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelCellEditing() |
Object |
getCellEditorValue() |
Component |
getTableCellEditorComponent(JTable table,
Object value,
boolean isSelected,
int row,
int column) |
protected void |
startEdit() |
boolean |
stopCellEditing() |
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCellclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, isCellEditable, removeCellEditorListener, shouldSelectCellpublic static final int DEFAULT_EDITOR_WIDTH
public static final int DEFAULT_EDITOR_HEIGHT
protected final LongTextCellComponent component
protected final LongTextEditorUI ui
protected Frame frame
protected JTable table
protected AbstractTuttiTableModel<AbstractTuttiBeanUIModel> tableModel
protected ColumnIdentifier<AbstractTuttiBeanUIModel> columnIdentifier
protected AbstractTuttiBeanUIModel editRow
protected Integer rowIndex
protected Integer columnIndex
public LongTextCellComponent.LongTextCellEditor(LongTextEditorUI ui)
protected void startEdit()
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent in interface TableCellEditorpublic 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 Ifremer. All Rights Reserved.