Example usage for javax.swing.tree TreeModel interface-usage

List of usage examples for javax.swing.tree TreeModel interface-usage

Introduction

In this page you can find the example usage for javax.swing.tree TreeModel interface-usage.

Usage

From source file org.martin.ftp.model.TreeMFiles.java

/**
 *
 * @author martin
 */
public class TreeMFiles implements TreeModel {

From source file UIDefaultsTreeModel.java

public class UIDefaultsTreeModel implements TreeModel {
    DefaultTreeModel innerModel;

    DefaultMutableTreeNode rootNode = new DefaultMutableTreeNode("UIDefaults");

    DefaultMutableTreeNode colorNode = new DefaultMutableTreeNode("Color Resources");

From source file CreatingTreeModel.java

class FileSystemModel implements TreeModel {
    private String root; // The root identifier

    private Vector listeners; // Declare the listeners vector

    public FileSystemModel() {

From source file Main.java

class TestModel implements TreeModel {

    Element data;

    TestModel() {
        data = new Element("data");

From source file com.mgmtp.jfunk.core.ui.ScriptsTreeModel.java

/**
 */
public class ScriptsTreeModel implements Serializable, TreeModel {

    private static final long serialVersionUID = 1L;

From source file uk.nhs.cfh.dsp.srth.desktop.modules.querycreationtreepanel.model.ReportingQueryStatementTreeModel.java

/**
 * A custom tree model for rendering a {@link uk.nhs.cfh.dsp.srth.query.model.om.impl.QueryStatementImpl} object
 * <br>Version : @#VersionNumber#@
 * <br>Written by @author Jay Kola
 * <br>Created on Mar 9, 2009 at 12:03:26 PM
 */

From source file ru.gelin.fictionbook.reader.models.ContentTreeModel.java

/**
 *  Tree model for Fiction Book content.
 */
public class ContentTreeModel implements TreeModel {

    /** commons logging instance */

From source file DOMTreeWalkerTreeModel.java

/**
 * This class implements the Swing TreeModel interface so that the DOM tree
 * returned by a TreeWalker can be displayed in a JTree component.
 */
public class DOMTreeWalkerTreeModel implements TreeModel {
    TreeWalker walker; // The TreeWalker we're modeling for JTree

From source file FileTreeDemo.java

/**
 * The methods in this class allow the JTree component to traverse
 * the file system tree, and display the files and directories.
 **/
class FileTreeModel implements TreeModel {
    // We specify the root directory when we create the model.

From source file nl.salp.warcraft4j.dev.ui.CascFileTreeModel.java

/**
 * TODO Document class.
 *
 * @author Barre Dijkstra
 */
public class CascFileTreeModel implements TreeModel {