Package jSimMacs.display

Examples of jSimMacs.display.JSimMutuableTreeNode


    this.fileName.setText(fileName);
  }

  public JSimMutuableTreeNode getSelectedNode() {
    TreePath selPath = newFileTree.getSelectionPath();
    JSimMutuableTreeNode selectedNode = null;
    try {
      selectedNode = (JSimMutuableTreeNode) selPath
          .getLastPathComponent();
    } catch (Exception E) {
    }
View Full Code Here


    return selectedNode;
  }

  public String getTreePath() {
    TreePath selPath = newFileTree.getSelectionPath();
    JSimMutuableTreeNode selectedNode = null;
    try {
      selectedNode = (JSimMutuableTreeNode) selPath
          .getLastPathComponent();
    } catch (Exception E) {
    }
    if (selectedNode != null) {
      return selectedNode.getPathString();
    }
    return "";
  }
View Full Code Here

TOP

Related Classes of jSimMacs.display.JSimMutuableTreeNode

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.