public class AttachmentCellEditor extends AbstractCellEditor implements TableCellEditor
| Modifier and Type | Field and Description |
|---|---|
protected AttachmentEditor |
attachmentEditor |
protected ColumnIdentifier<AbstractTuttiBeanUIModel> |
columnIdentifier |
protected Integer |
columnIndex |
protected AttachmentCellRenderer |
component |
protected AttachmentModelAware |
editRow |
protected PropertyChangeListener |
reloadAttachmentEditorTextListener |
protected Integer |
rowIndex |
protected JTable |
table |
protected AbstractTuttiTableModel<AbstractTuttiBeanUIModel> |
tableModel |
changeEvent, listenerList| Constructor and Description |
|---|
AttachmentCellEditor(Frame frame,
AttachmentCellRenderer component,
AttachementObjectTypeEnum objectTypeProperty) |
| 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,
AttachmentCellRenderer renderer,
AttachementObjectTypeEnum objectType) |
boolean |
stopCellEditing() |
addCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, isCellEditable, removeCellEditorListener, shouldSelectCellclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddCellEditorListener, isCellEditable, removeCellEditorListener, shouldSelectCellprotected final AttachmentCellRenderer component
protected AttachmentEditor attachmentEditor
protected JTable table
protected AbstractTuttiTableModel<AbstractTuttiBeanUIModel> tableModel
protected ColumnIdentifier<AbstractTuttiBeanUIModel> columnIdentifier
protected AttachmentModelAware editRow
protected Integer rowIndex
protected Integer columnIndex
protected PropertyChangeListener reloadAttachmentEditorTextListener
public AttachmentCellEditor(Frame frame, AttachmentCellRenderer component, AttachementObjectTypeEnum objectTypeProperty)
public static TableCellEditor newEditor(TuttiUI ui, AttachmentCellRenderer renderer, AttachementObjectTypeEnum objectType)
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-2013 Ifremer. All Rights Reserved.