Class IndexEvents

    • Constructor Detail

      • IndexEvents

        public IndexEvents()
    • Method Detail

      • create

        public Chunk create​(String text,
                            String in1,
                            String in2,
                            String in3)
        Create an index entry.
        Parameters:
        text - The text for the Chunk.
        in1 - The first level.
        in2 - The second level.
        in3 - The third level.
        Returns:
        Returns the Chunk.
      • create

        public Chunk create​(String text,
                            String in1)
        Create an index entry.
        Parameters:
        text - The text for the Chunk.
        in1 - The first level.
        Returns:
        Returns the Chunk.
      • create

        public Chunk create​(String text,
                            String in1,
                            String in2)
        Create an index entry.
        Parameters:
        text - The text for the Chunk.
        in1 - The first level.
        in2 - The second level.
        Returns:
        Returns the Chunk.
      • create

        public void create​(Chunk text,
                           String in1,
                           String in2,
                           String in3)
        Create an index entry.
        Parameters:
        text - The text.
        in1 - The first level.
        in2 - The second level.
        in3 - The third level.
      • create

        public void create​(Chunk text,
                           String in1)
        Create an index entry.
        Parameters:
        text - The text.
        in1 - The first level.
      • create

        public void create​(Chunk text,
                           String in1,
                           String in2)
        Create an index entry.
        Parameters:
        text - The text.
        in1 - The first level.
        in2 - The second level.
      • setComparator

        public void setComparator​(Comparator<IndexEvents.Entry> aComparator)
        Set the comparator.
        Parameters:
        aComparator - The comparator to set.
      • getSortedEntries

        public List<IndexEvents.Entry> getSortedEntries()
        Returns the sorted list with the entries and the collected page numbers.
        Returns:
        Returns the sorted list with the entries and the collected page numbers.