|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgui.multisource.ElementView
public class ElementView
An ElementView provides the capability of displaying the element structure and attributes of a document or part of a document.
| Constructor Summary | |
|---|---|
ElementView()
new ElementView() returns a new ElementView. |
|
| Method Summary | |
|---|---|
javax.swing.JTree |
getTree()
ev.getTree() returns the tree component for ev. |
javax.swing.JPanel |
getViewComponent()
ev.getViewComponent() returns the panel component for ev. |
void |
refresh()
ev.refresh() refreshes ev's view of its root element. |
void |
setRoot(javax.swing.text.AbstractDocument.AbstractElement r)
ev.setRoot() sets r as the root element for ev's view. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ElementView()
| Method Detail |
|---|
public void setRoot(javax.swing.text.AbstractDocument.AbstractElement r)
public void refresh()
public javax.swing.JTree getTree()
public javax.swing.JPanel getViewComponent()
getViewComponent in interface Viewable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||