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 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 int |
editRow |
protected WeakReference<JTable> |
editTable |
protected WeakReference<Object> |
editValue |
protected TreeTableNodeValueEditor.CellEditorListenerSupport |
listenersSupport |
protected TreeTableNodeValueEditor.TextFieldEditor |
textFieldEditor |
protected 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 ClassMap<TreeTableNodeValueEditor.Editor> typeEditors
protected TreeTableNodeValueEditor.TextFieldEditor textFieldEditor
protected WeakReference<JTable> editTable
protected WeakReference<Object> editValue
protected int editRow
protected int editColumn
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 ClassMap<TreeTableNodeValueEditor.Editor> getTypeEditors()
public void setTypeEditors(ClassMap<TreeTableNodeValueEditor.Editor> editors)
protected ClassMap<TreeTableNodeValueEditor.Editor> createTypeEditors()
protected TreeTableNodeValueEditor.TextFieldEditor getTextFieldEditor()
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 © 2018. All rights reserved.