jmri.util
Class JTreeUtil

java.lang.Object
  extended by jmri.util.JTreeUtil

public class JTreeUtil
extends Object

Common utility methods for working with JTrees.

We needed a place to refactor common JTree-processing idioms in JMRI code, so this class was created. It's more of a library of procedures than a real class, as (so far) all of the operations have needed no state information.

In particular, this is intended to provide Java 2 functionality on a Java 1.1.8 system, or at least try to fake it.

Author:
Bob Jacobsen Copyright 2003

Constructor Summary
JTreeUtil()
           
 
Method Summary
static void setExpandsSelectedPaths(JTree dTree, boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JTreeUtil

public JTreeUtil()
Method Detail

setExpandsSelectedPaths

public static void setExpandsSelectedPaths(JTree dTree,
                                           boolean value)


Copyright © 1997 - 2009 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: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads