Together Workflow Editor 3.0-1 API

org.enhydra.jawe.components
Class XPDLTreeUtil

java.lang.Object
  extended by org.enhydra.jawe.components.XPDLTreeUtil

public class XPDLTreeUtil
extends java.lang.Object

Utility class for handling the tree.

Author:
Zoran Milakovic, Sasa Bojanic

Constructor Summary
XPDLTreeUtil()
           
 
Method Summary
static void expandOrCollapsePath(javax.swing.JTree tree, javax.swing.tree.TreePath treePath, int level, int currentLevel, boolean expand)
           
static void expandOrCollapsToLevel(javax.swing.JTree tree, javax.swing.tree.TreePath treePath, int level, boolean expand)
          Expands/Collapse specified tree to a certain level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPDLTreeUtil

public XPDLTreeUtil()
Method Detail

expandOrCollapsToLevel

public static void expandOrCollapsToLevel(javax.swing.JTree tree,
                                          javax.swing.tree.TreePath treePath,
                                          int level,
                                          boolean expand)
Expands/Collapse specified tree to a certain level.

Parameters:
tree - jtree to expand to a certain level
level - the level of expansion

expandOrCollapsePath

public static void expandOrCollapsePath(javax.swing.JTree tree,
                                        javax.swing.tree.TreePath treePath,
                                        int level,
                                        int currentLevel,
                                        boolean expand)

Together Workflow Editor 3.0-1 API