|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
org.apache.batik.util.gui.DOMViewer.Panel
The panel that contains the viewer.
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. |
Nested classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
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. |
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
DOMViewer.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. |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Document document
protected ViewCSS viewCSS
protected JTree tree
protected JSplitPane splitPane
protected JPanel rightPanel
protected JTable attributesTable
protected JTable propertiesTable
protected JPanel elementPanel
protected JTextArea characterData
protected JPanel characterDataPanel
protected JTextArea documentInfo
protected JPanel documentInfoPanel
Constructor Detail |
public DOMViewer.Panel()
Method Detail |
public void setDocument(Document doc)
public void setDocument(Document doc, ViewCSS view)
protected MutableTreeNode createTree(Node node, boolean showWhitespace)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |