jmri.util.swing
Class JTreeUtil
java.lang.Object
jmri.util.swing.GuiUtilBase
jmri.util.swing.JTreeUtil
public class JTreeUtil
- extends GuiUtilBase
Common utility methods for working with JTrees.
Chief among these is the loadTree method, for
creating a tree from an XML definition
- Since:
- 2.9.4
- Author:
- Bob Jacobsen Copyright 2003, 2010
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JTreeUtil
public JTreeUtil()
loadTree
public static DefaultMutableTreeNode loadTree(File file,
WindowInterface wi,
Object context)
- Parameters:
file - XML file to be read and processedwi - WindowInterface to be passed to the nodes in the treecontext - Blind context Object passed to the nodes in the tree
Copyright © 1997 - 2011 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.
Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: