Interface AuthorHighlighterListener


@API(type=EXTENDABLE, src=PUBLIC) public interface AuthorHighlighterListener
Listener for the author highlighter events. To add this listener use the following method: AuthorHighlighter.addListener(AuthorHighlighterListener).
Since:
21.1
  • Method Details

    • highlightAdded

      void highlightAdded(Highlight highlight)
      A highlight was added.
      Parameters:
      highlight - The added highlight.
    • highlightRemoved

      void highlightRemoved(Highlight highlight)
      A highlight was removed.
      Parameters:
      highlight - The removed highlight.
    • highlightsRemoved

      default void highlightsRemoved(Highlight[] highlights)
      A group of highlights was removed.
      Parameters:
      highlights - The removed highlights.
    • allHighlightsRemoved

      void allHighlightsRemoved(List<Highlight> removedHighlights)
      All highlights were removed.
      Parameters:
      removedHighlights - The list of removed highlights.