Class NodeTreeBranchEditor
java.lang.Object
javax.swing.tree.DefaultTreeCellEditor
com.marginallyclever.ro3.apps.nodetreeview.NodeTreeBranchEditor
- All Implemented Interfaces:
ActionListener
,EventListener
,CellEditor
,TreeSelectionListener
,TreeCellEditor
NodeTreeBranchEditor
is a cell editorpanel for the NodeTreeView
.-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.tree.DefaultTreeCellEditor
DefaultTreeCellEditor.DefaultTextField, DefaultTreeCellEditor.EditorContainer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetTreeCellEditorComponent
(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row) boolean
Methods inherited from class javax.swing.tree.DefaultTreeCellEditor
actionPerformed, addCellEditorListener, cancelCellEditing, getBorderSelectionColor, getCellEditorListeners, getFont, isCellEditable, removeCellEditorListener, setBorderSelectionColor, setFont, shouldSelectCell, valueChanged
-
Constructor Details
-
NodeTreeBranchEditor
-
-
Method Details
-
getTreeCellEditorComponent
public Component getTreeCellEditorComponent(JTree tree, Object value, boolean isSelected, boolean expanded, boolean leaf, int row) - Specified by:
getTreeCellEditorComponent
in interfaceTreeCellEditor
- Overrides:
getTreeCellEditorComponent
in classDefaultTreeCellEditor
-
getCellEditorValue
- Specified by:
getCellEditorValue
in interfaceCellEditor
- Overrides:
getCellEditorValue
in classDefaultTreeCellEditor
-
stopCellEditing
public boolean stopCellEditing()- Specified by:
stopCellEditing
in interfaceCellEditor
- Overrides:
stopCellEditing
in classDefaultTreeCellEditor
-