Class TreePageData

java.lang.Object
com.aoapps.web.framework.TreePageData

public class TreePageData extends Object
Models data used for one page in the page tree.
Author:
AO Industries, Inc.
  • Constructor Details

    • TreePageData

      public TreePageData(String url, String description, boolean hasChildren, String... path)
      Creates new tree page data.
      Parameters:
      path - The path of display names.
    • TreePageData

      public TreePageData(String url, String description, boolean hasChildren, Collection<? extends String> path)
      Creates new tree page data.
      Parameters:
      path - The path of display names, extracted via Collection.toArray(java.lang.Object[])
  • Method Details

    • getUrl

      public String getUrl()
    • getDescription

      public String getDescription()
    • hasChildren

      public boolean hasChildren()
    • getPath

      public String[] getPath()