public class DictionariesTreeEditor extends WebTreeCellEditor
WebDefaultCellEditor.EditorDelegate<T>autoUpdateLeadingIconclickCountToStart, COMBOBOX_CELL_EDITOR, delegate, editorComponent| Constructor and Description |
|---|
DictionariesTreeEditor(DictionariesTree tree)
Constructs dictionaries tree editor for the specified dictionaries tree.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getCellEditorValue()
Returns current editor's value.
|
java.awt.Component |
getTreeCellEditorComponent(javax.swing.JTree tree,
java.lang.Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
Returns custom tree cell editor component.
|
boolean |
isCellEditable(java.util.EventObject event)
Returns whether cell is editable or not.
|
cancelCellEditing, focusGained, focusLost, stopCellEditinggetClickCountToStart, getComponent, getTableCellEditorComponent, initialize, setClickCountToStart, shouldSelectCelladdCellEditorListener, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListenerpublic DictionariesTreeEditor(DictionariesTree tree)
tree - dictionaries treepublic java.awt.Component getTreeCellEditorComponent(javax.swing.JTree tree,
java.lang.Object value,
boolean isSelected,
boolean expanded,
boolean leaf,
int row)
getTreeCellEditorComponent in interface javax.swing.tree.TreeCellEditorgetTreeCellEditorComponent in class WebTreeCellEditortree - treevalue - cell valueisSelected - whether cell is selected or notexpanded - whether cell is expanded or notleaf - whether cell is leaf or notrow - cell row indexpublic java.lang.Object getCellEditorValue()
getCellEditorValue in interface javax.swing.CellEditorgetCellEditorValue in class WebDefaultCellEditorpublic boolean isCellEditable(java.util.EventObject event)
isCellEditable in interface javax.swing.CellEditorisCellEditable in class WebDefaultCellEditorevent - event that editor should use to consider whether to begin editing or no