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)
This method is called whenever an event occurs of the event type for
which the
EventListener interface was registered. |
public void handleEvent(Event evt)
EventListenerEventListener interface was registered.handleEvent in interface EventListenerevt - The Event contains contextual information
about the event.protected int findIndexToInsert(DefaultMutableTreeNode parentNode, DefaultMutableTreeNode newParentNode)
parentNode - The old tree nodenewParentNode - The new tree nodeCopyright © 2000–2021 Apache Software Foundation. All rights reserved.