org.apache.batik.apps.svgbrowser

Class DOMViewer.Panel.DOMTreeSelectionListener

protected class DOMViewer.Panel.DOMTreeSelectionListener extends Object implements TreeSelectionListener

To listen to the tree selection.
Method Summary
protected StringcreateDocumentText(Document doc)
protected voidhandleElementSelection(TreeSelectionEvent ev)
Processes element selection overlay.
protected intnodeCount(Node node)
voidvalueChanged(TreeSelectionEvent ev)
Called when the selection changes.

Method Detail

createDocumentText

protected String createDocumentText(Document doc)

handleElementSelection

protected void handleElementSelection(TreeSelectionEvent ev)
Processes element selection overlay.

Parameters: ev Tree selection event

nodeCount

protected int nodeCount(Node node)

valueChanged

public void valueChanged(TreeSelectionEvent ev)
Called when the selection changes.
Copyright B) 2008 Apache Software Foundation. All Rights Reserved.