public class TreeTableNodeValueEditor extends Object implements TableCellEditor
| Modifier and Type | Class and Description |
|---|---|
static class |
TreeTableNodeValueEditor.BaseEditor |
static class |
TreeTableNodeValueEditor.CellEditorListenerSupport
Поддержка событий редактирования
|
static class |
TreeTableNodeValueEditor.EditingCanceledEvent
Событие отмены редактирования
|
static class |
TreeTableNodeValueEditor.EditingStoppedEvent
Событие завершения редактирования
|
static interface |
TreeTableNodeValueEditor.Editor
Интерфейс редактора значения ячейки
|
static interface |
TreeTableNodeValueEditor.EditorFinder
Производит поиск подходящего редактора
|
static class |
TreeTableNodeValueEditor.TextFieldEditor |
static class |
TreeTableNodeValueEditor.UnsupportedEditor |
static class |
TreeTableNodeValueEditor.WrappedEditor |
| Modifier and Type | Field and Description |
|---|---|
protected TreeTableNodeValueEditor.Editor |
currentEditor |
protected int |
editColumn |
protected TreeTableNodeValueEditor.EditorFinder |
editorFinder |
protected int |
editRow |
protected WeakReference<JTable> |
editTable |
protected WeakReference<Object> |
editValue |
protected TreeTableNodeValueEditor.CellEditorListenerSupport |
listenersSupport |
protected TreeTableNodeValueEditor.TextFieldEditor |
textFieldEditor |
protected xyz.cofe.collection.map.ClassMap<TreeTableNodeValueEditor.Editor> |
typeEditors |
protected TreeTableNodeValueEditor.Editor |
unsupportedEditor |
| Constructor and Description |
|---|
TreeTableNodeValueEditor()
Конструктор
|
protected final TreeTableNodeValueEditor.CellEditorListenerSupport listenersSupport
protected TreeTableNodeValueEditor.Editor currentEditor
protected volatile TreeTableNodeValueEditor.Editor unsupportedEditor
protected xyz.cofe.collection.map.ClassMap<TreeTableNodeValueEditor.Editor> typeEditors
protected TreeTableNodeValueEditor.TextFieldEditor textFieldEditor
protected WeakReference<JTable> editTable
protected WeakReference<Object> editValue
protected int editRow
protected int editColumn
protected TreeTableNodeValueEditor.EditorFinder editorFinder
public TreeTableNodeValueEditor.Editor getCurrentEditor()
public void setCurrentEditor(TreeTableNodeValueEditor.Editor currentEditor)
public TreeTableNodeValueEditor.Editor getUnsupportedEditor()
public TreeTableNodeValueEditor.UnsupportedEditor createUnsupportedEditor(String message)
public TreeTableNodeValueEditor.Editor createTextFieldEditor(TreeTableNodeValue ttnv)
public xyz.cofe.collection.map.ClassMap<TreeTableNodeValueEditor.Editor> getTypeEditors()
public void setTypeEditors(xyz.cofe.collection.map.ClassMap<TreeTableNodeValueEditor.Editor> editors)
protected xyz.cofe.collection.map.ClassMap<TreeTableNodeValueEditor.Editor> createTypeEditors()
protected TreeTableNodeValueEditor.TextFieldEditor getTextFieldEditor()
public TreeTableNodeValueEditor.EditorFinder getEditorFinder()
public void setEditorFinder(TreeTableNodeValueEditor.EditorFinder editorFinder)
public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
getTableCellEditorComponent in interface TableCellEditorpublic Object getCellEditorValue()
getCellEditorValue in interface CellEditorpublic boolean isCellEditable(EventObject anEvent)
isCellEditable in interface CellEditorpublic boolean shouldSelectCell(EventObject anEvent)
shouldSelectCell in interface CellEditorpublic boolean stopCellEditing()
stopCellEditing in interface CellEditorpublic void cancelCellEditing()
cancelCellEditing in interface CellEditorpublic void addCellEditorListener(CellEditorListener l)
addCellEditorListener in interface CellEditorpublic void removeCellEditorListener(CellEditorListener l)
removeCellEditorListener in interface CellEditorpublic void fireEditingCanceled(Object src)
public void fireEditingStopped(Object src)
Copyright © 2019. All rights reserved.