Class TreeUtils.TreeState<T>

  • Enclosing class:
    TreeUtils

    public static class TreeUtils.TreeState<T>
    extends java.lang.Object
    This class can be used to store the state of a tree regarding expanded/collapsed nodes.
    • Constructor Summary

      Constructors 
      Constructor Description
      TreeState()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isOpen​(T key)  
      void setOpen​(T key, boolean open)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TreeState

        public TreeState()
    • Method Detail

      • isOpen

        public boolean isOpen​(T key)
      • setOpen

        public void setOpen​(T key,
                            boolean open)