Class TreePanel

java.lang.Object

public class TreePanel
extends Container
Represents an ext TreePanel, with expand/collapse available at each node.
  • Constructor Details

  • Method Details

    • select

      public void select​(java.lang.String... path)
      The tree will be expanded down through the given path; the last node given will not be expanded, but rather will be selected. For example, select("Granddad, "Dad", "Grandchild") will expand Granddad, then expand Dad under Granddad, then select Grandchild under Dad.
      Parameters:
      path - path to expand - the last entry will be selected instead of expanded
    • selectInexact

      public void selectInexact​(java.lang.String... path)
      Like select(String...) but uses inexact matches ... a node will be matched if it its text contains() the given path elements.
      Parameters:
      path - path to expand (inexact match for each value) - the last entry will be selected instead of expanded