org.apache.batik.util.gui
protected class DOMViewer.Panel.NodeRenderer extends DefaultTreeCellRenderer
| Constructor Summary | |
|---|---|
| NodeRenderer()
Creates a new NodeRenderer object. | |
| Method Summary | |
|---|---|
| protected short | getNodeType(Object value)
Returns the DOM type of the given object. |
| Component | getTreeCellRendererComponent(JTree tree, Object value, boolean sel, boolean expanded, boolean leaf, int row, boolean hasFocus)
Sets the value of the current tree cell. |
Returns: the type or -1.