Package help

Class CustomTOCView.CustomDefaultTOCFactory

java.lang.Object
javax.help.TOCView.DefaultTOCFactory
help.CustomTOCView.CustomDefaultTOCFactory
All Implemented Interfaces:
javax.help.TreeItemFactory
Enclosing class:
CustomTOCView

public static class CustomTOCView.CustomDefaultTOCFactory extends javax.help.TOCView.DefaultTOCFactory
Our custom factory that knows how to look for extra XML attributes and how to create our custom tree items
  • Constructor Details

    • CustomDefaultTOCFactory

      public CustomDefaultTOCFactory()
  • Method Details

    • createItem

      public javax.help.TreeItem createItem(String tagName, Hashtable atts, javax.help.HelpSet hs, Locale locale)
      Specified by:
      createItem in interface javax.help.TreeItemFactory
      Overrides:
      createItem in class javax.help.TOCView.DefaultTOCFactory