Class Summary.Fragment

    • Constructor Detail

      • Fragment

        public Fragment​(String text)
        Constructs a fragment for the given text.
    • Method Detail

      • getText

        public String getText()
        Returns the text of this fragment.
      • isHighlight

        public boolean isHighlight()
        Returns true iff this fragment is to be highlighted.
      • isEllipsis

        public boolean isEllipsis()
        Returns true iff this fragment is an ellipsis.
      • toString

        public String toString()
        Returns an HTML representation of this fragment.
        Overrides:
        toString in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object