Package javax.help

Class SearchTOCItem

  • All Implemented Interfaces:
    java.io.Serializable

    public class SearchTOCItem
    extends TOCItem
    Stores Search TOC items. This class extends TOCItems with additonal search hits. Can be used as part of the TOC tree or as an appendage to the tree for items not contained in the tree.
    See Also:
    Serialized Form
    • Constructor Detail

      • SearchTOCItem

        public SearchTOCItem​(Map.ID id,
                             Map.ID imageID,
                             HelpSet hs,
                             java.util.Locale locale)
      • SearchTOCItem

        public SearchTOCItem​(SearchItem item)
    • Method Detail

      • addSearchHit

        public void addSearchHit​(SearchHit si)
        Adds a SearchHit.
      • getURL

        public java.net.URL getURL()
        Description copied from class: TreeItem
        Returns the URL for the item.
        Overrides:
        getURL in class TreeItem
      • getConfidence

        public double getConfidence()
      • getConfidences

        public java.util.Enumeration getConfidences()
      • inTOC

        public boolean inTOC()
      • getSearchHits

        public java.util.Enumeration getSearchHits()
      • hitCount

        public int hitCount()