Interface SequencesHighlightable


public interface SequencesHighlightable
Aspect providing an API to highlight textual sequences.
Since:
5.0.101
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Aspect providing an API to highlight textual sequences.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Highlights all matching sequences.
  • Field Details

  • Method Details

    • highlightSequences

      boolean highlightSequences(@Nullable String regExp)
      Highlights all matching sequences. Prior to highlighting, existing sequence highlighting should be removed. If provided regular expression is null ony existing highlights should be removed.
      Parameters:
      regExp - Regular expression used for matching or null for clearing highlights only.
      Returns:
      true if matches were highlighted
      Since:
      5.0.101