Example usage for javax.swing JTree subclass-usage

List of usage examples for javax.swing JTree subclass-usage

Introduction

In this page you can find the example usage for javax.swing JTree subclass-usage.

Usage

From source file components.GenealogyTree.java

public class GenealogyTree extends JTree {
    GenealogyModel model;

    public GenealogyTree(Person graphNode) {
        super(new GenealogyModel(graphNode));
        getSelectionModel().setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);

From source file com.mindcognition.mindraider.ui.swing.explorer.NotebooksTree.java

public class NotebooksTree extends JTree {
    public static final int LEVEL_ROOT = 2;
    public static final int LEVEL_NOTEBOOKS = 1;

    private DefaultMutableTreeNode notebooksRootNode;
    private DefaultTreeModel notebooksTreeModel;

From source file DOMTreeFull.java

/**
 * DOMTree class to enter every DOM node into a Swing JTree tree. The forward
 * and backward mappings between Nodes to TreeNodes are kept.
 * 
 * @version $Id: DOMTreeFull.java 447689 2006-09-19 02:40:36Z mrglavas $
 */

From source file org.openconcerto.erp.model.RubriquePayeTree.java

/***************************************************************************************************
 * Arbre contenant l'ensemble des rubriques de paye
 **************************************************************************************************/
public class RubriquePayeTree extends JTree {
    private final static SQLTable tableBrut = Configuration.getInstance().getBase().getTable("RUBRIQUE_BRUT");
    private final static SQLTable tableCotis = Configuration.getInstance().getBase()

From source file org.openconcerto.erp.model.FamilleArticleTree.java

public class FamilleArticleTree extends JTree implements MouseListener {
    private final DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode("Toutes");
    private final DefaultTreeModel model = new DefaultTreeModel(rootNode, false);

    private final SQLElement familleElt = Configuration.getInstance().getDirectory().getElement("FAMILLE_ARTICLE");

From source file org.orbisgis.view.components.fstree.FileTree.java

/**
 * This JTree Can be linked with the file system thanks to the TreeNodeFolder
 * @author Nicolas Fortin
 */
public class FileTree extends JTree implements TreeNodeFileFactoryManager {
    private static final long serialVersionUID = 1L;

From source file tufts.vue.OutlineViewTree.java

/**
 *
 * A class that represents a tree structure which holds the outline view model
 *   
 * Todo: render right from the node labels so all we have to do is repaint to refresh.
 * (still need to modify tree for hierarchy changes tho).

From source file com.mindcognition.mindraider.ui.swing.explorer.LabelsTree.java

/**
 * Tree of labels (formerly notebooks).
 */
public class LabelsTree extends JTree implements LabelCustodianListener {

    private static final Log logger = LogFactory.getLog(LabelsTree.class); // {{debug}}

From source file au.org.ala.delta.editor.ui.CharacterTree.java

/**
 * The CharacterTree extends JTree to provide 1-click cell editing and to implement the ReorderableList interface to help our Drag and Drop implementation.
 * 
 * A CharacterTree can behave as both a list of Characters and a list of States depending on the selection and what is being dragged and dropped.
 */
public class CharacterTree extends JTree {

From source file org.mbari.aved.ui.classifier.knowledgebase.ConceptTree.java

/**
 * A JTree implementation for displaying <code>KnowledgeBase</code>
 * <code>Concept</code> objects in the <code>MaintGui</code>.
 *
 *
 * @author  brian