protected class DOMViewer.Panel.NodeInsertionHandler extends Object implements EventListener
Modifier | Constructor and Description |
---|---|
protected |
NodeInsertionHandler() |
Modifier and Type | Method and Description |
---|---|
protected int |
findIndexToInsert(DefaultMutableTreeNode parentNode,
DefaultMutableTreeNode newParentNode)
Compares the children of the two tree nodes and returns the index
of the first difference.
|
void |
handleEvent(Event evt) |
public void handleEvent(Event evt)
handleEvent
in interface EventListener
protected int findIndexToInsert(DefaultMutableTreeNode parentNode, DefaultMutableTreeNode newParentNode)
parentNode
- The old tree nodenewParentNode
- The new tree nodeCopyright © 2000–2020 Apache Software Foundation. All rights reserved.