public class CheckBoxNodeEditor extends AbstractCellEditor implements TreeCellEditor
Modifier and Type | Field and Description |
---|---|
private CheckBoxNodeRenderer |
renderer |
private static long |
serialVersionUID
SerialVersionUID
|
private CheckBoxTree |
theTree |
changeEvent, listenerList
Constructor and Description |
---|
CheckBoxNodeEditor(CheckBoxTree tree) |
Modifier and Type | Method and Description |
---|---|
void |
addNodeListener(MouseAdapter listener) |
Object |
getCellEditorValue() |
Component |
getTreeCellEditorComponent(JTree tree,
Object value,
boolean selected,
boolean expanded,
boolean leaf,
int row) |
boolean |
isCellEditable(EventObject event) |
addCellEditorListener, cancelCellEditing, fireEditingCanceled, fireEditingStopped, getCellEditorListeners, removeCellEditorListener, shouldSelectCell, stopCellEditing
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCellEditorListener, cancelCellEditing, removeCellEditorListener, shouldSelectCell, stopCellEditing
private static final long serialVersionUID
private final CheckBoxNodeRenderer renderer
private final CheckBoxTree theTree
public CheckBoxNodeEditor(CheckBoxTree tree)
public Object getCellEditorValue()
getCellEditorValue
in interface CellEditor
public void addNodeListener(MouseAdapter listener)
public boolean isCellEditable(EventObject event)
isCellEditable
in interface CellEditor
isCellEditable
in class AbstractCellEditor
public Component getTreeCellEditorComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row)
getTreeCellEditorComponent
in interface TreeCellEditor