|
VdexReload 1.1.3 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.tree.DefaultTreeModel
uk.ac.reload.dweezil.gui.tree.ReloadTreeModel
uk.ac.reload.editor.metadata.vdexBrowser.VdexTreeModel
The Vdex Tree Model. This reads the vdex file and builds the nodes of the tree and creates the VdexVocabNode.
Field Summary |
Fields inherited from class javax.swing.tree.DefaultTreeModel |
asksAllowsChildren, listenerList, root |
Constructor Summary | |
VdexTreeModel(Vocabulary vocabulary)
Constructor |
Method Summary | |
void |
buildChildren(VdexTreeNode node)
Build up child nodes for creating the VdexTree |
void |
buildVdexVocabNode(org.jdom.Element element)
Build the Vdex Vocab Node |
protected boolean |
doShowNode(org.jdom.Element element)
Decide whether to display an Element on the Tree |
VdexVocabNode |
getVdexVocabNode()
Get the Vdex Vocab Node |
Methods inherited from class uk.ac.reload.dweezil.gui.tree.ReloadTreeModel |
getRootNode |
Methods inherited from class javax.swing.tree.DefaultTreeModel |
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public VdexTreeModel(Vocabulary vocabulary)
vocabulary
- the vocabulary documentMethod Detail |
public void buildChildren(VdexTreeNode node)
node
- The Parent VdexTreeNodeprotected boolean doShowNode(org.jdom.Element element)
element
- the element concerned
public void buildVdexVocabNode(org.jdom.Element element)
element
- vocabulary elements such as name, id, metadatapublic VdexVocabNode getVdexVocabNode()
|
VdexReload 1.1.3 API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |