org.apache.batik.util.gui
public class DOMViewer.Panel extends JPanel
| Nested Class Summary | |
|---|---|
| protected class | DOMViewer.Panel.DOMTreeSelectionListener
To listen to the tree selection. |
| protected class | DOMViewer.Panel.NodeAttributesModel
To display the attributes of a DOM node attributes in a table. |
| protected class | DOMViewer.Panel.NodeCSSValuesModel
To display the CSS properties of a DOM node in a table. |
| protected class | DOMViewer.Panel.NodeRenderer
To render the tree nodes. |
| Field Summary | |
|---|---|
| protected JTable | attributesTable
The attributes table. |
| protected JTextArea | characterData
The CharacterData panel text area. |
| protected JPanel | characterDataPanel
The CharacterData node panel. |
| protected Document | document
The DOM document. |
| protected JTextArea | documentInfo
The documentInfo panel text area. |
| protected JPanel | documentInfoPanel
The documentInfo node panel. |
| protected JPanel | elementPanel
The element panel. |
| protected JTable | propertiesTable
The properties table. |
| protected JPanel | rightPanel
The right panel. |
| protected JSplitPane | splitPane
The split pane. |
| protected JTree | tree
The tree. |
| protected ViewCSS | viewCSS
The ViewCSS object associated with the document. |
| Constructor Summary | |
|---|---|
| Panel()
Creates a new Panel object. | |
| Method Summary | |
|---|---|
| protected MutableTreeNode | createTree(Node node, boolean showWhitespace)
Creates a swing tree from a DOM document. |
| void | setDocument(Document doc)
Sets the document to display. |
| void | setDocument(Document doc, ViewCSS view)
Sets the document to display and its ViewCSS. |