|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JTree | +--net.sourceforge.spedit.app.NavigationTree
The NavigationTree
class allows to represent an
XMLDocument
as a tree view, allowing to manipulate this
XMLDocument
.
Inner Class Summary | |
protected class |
NavigationTree.Model
The Model wraps an XMLDocument allowing to
consider specific nodes as leaves, even if these node are not actually
leaves. |
Inner classes inherited from class javax.swing.JTree |
JTree.AccessibleJTree, JTree.DynamicUtilTreeNode, JTree.EmptySelectionModel, JTree.TreeModelHandler, JTree.TreeSelectionRedirector |
Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Inner classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent |
Field Summary | |
protected Application.DocumentFrame |
app
|
protected Vector |
hidden
|
protected boolean |
updateCaret
|
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 | |
NavigationTree(Application.DocumentFrame app)
|
Method Summary | |
void |
caretUpdate(CaretEvent e)
|
TreePath |
getTreePath(TreeNode node)
|
void |
setDocument(XMLDocument doc)
|
void |
valueChanged(TreeSelectionEvent e)
|
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setLayout, validate, validateTree |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Vector hidden
protected Application.DocumentFrame app
protected boolean updateCaret
Constructor Detail |
public NavigationTree(Application.DocumentFrame app)
Method Detail |
public void setDocument(XMLDocument doc)
public TreePath getTreePath(TreeNode node)
public void valueChanged(TreeSelectionEvent e)
valueChanged
in interface TreeSelectionListener
public void caretUpdate(CaretEvent e)
caretUpdate
in interface CaretListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |