List of usage examples for javax.swing.tree TreeModel interface-usage
From source file DOMTreeTest.java
/** * This tree model describes the tree structure of an XML document. */ class DOMTreeModel implements TreeModel { /** * Constructs a document tree model.
From source file GenealogyExample.java
class GenealogyModel implements TreeModel { private boolean showAncestors; private Vector treeModelListeners = new Vector(); private Person rootPerson;
From source file GenealogyExample.java
class GenealogyModel implements TreeModel { private boolean showAncestors; private Vector<TreeModelListener> treeModelListeners = new Vector<TreeModelListener>(); private Person rootPerson; public GenealogyModel(Person root) {