com.jidesoft.tree
Class TreeModelWrapperUtils
java.lang.Object
com.jidesoft.tree.TreeModelWrapperUtils
public class TreeModelWrapperUtils
- extends Object
TreeModelWrapperUtils
is a utility class that contains several useful methods for
TreeModelWrapper
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeModelWrapperUtils
public TreeModelWrapperUtils()
getActualTreeModel
public static TreeModel getActualTreeModel(TreeModel outerModel,
Class innerModelClass)
- Gets the inner
TreeModel
whose class is an instance of the innerModelClass.
- Parameters:
outerModel
- the outermost TreeModel
.innerModelClass
- the class for the inner model.
- Returns:
- the TreeModel whose class is innerModelClass.
getActualTreeModel
public static TreeModel getActualTreeModel(TreeModel outerModel)
- Gets the inner most
TreeModel
.
- Parameters:
outerModel
- the outermost TreeModel
.
- Returns:
- the inner most Tree model. It is the first inner model that is not an instance of
TreeModelWrapper
.