Documentation of 'org.jdesktop.swingx.tree.TreeUtilities' Java class
TreeUtilities
org.jdesktop.swingx.tree

Class TreeUtilities



  • public class TreeUtilities
    extends java.lang.Object
    Contains convenience classes/methods for handling hierarchical Swing structures.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.util.Enumeration EMPTY_ENUMERATION
      An enumeration that is always empty.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.util.Enumeration children(javax.swing.tree.TreeModel model)
      Creates and returns an Enumeration across the direct children of the rootNode in the given TreeModel.
      static java.util.Enumeration children(javax.swing.tree.TreeModel model, java.lang.Object parent)
      Creates and returns an Enumeration across the direct children of parentNode in the given TreeModel.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • EMPTY_ENUMERATION

        public static final java.util.Enumeration EMPTY_ENUMERATION
        An enumeration that is always empty.
    • Method Detail

      • children

        public static java.util.Enumeration children(javax.swing.tree.TreeModel model)
        Creates and returns an Enumeration across the direct children of the rootNode in the given TreeModel.
        Parameters:
        model - the TreeModel which contains parent, must not be null
        Returns:
        an Enumeration across the direct children of the model's root, the enumeration is empty if the root is null or contains no children
      • children

        public static java.util.Enumeration children(javax.swing.tree.TreeModel model,
                                                     java.lang.Object parent)
        Creates and returns an Enumeration across the direct children of parentNode in the given TreeModel.
        Parameters:
        model - the TreeModel which contains parent, must not be null
        parent - the parent of the enumerated children
        Returns:
        an Enumeration across the direct children of parent, the enumeration is empty if the parent is null or contains no children

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.