Class CDARichText


  • public class CDARichText
    extends CDARichNode
    A leaf element of the rich text node graph: Render a given text with the given markings.
    • Constructor Summary

      Constructors 
      Constructor Description
      CDARichText​(java.lang.CharSequence text, java.util.List<CDARichMark> marks)
      Create a text with the given marks
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<CDARichMark> getMarks()  
      java.lang.CharSequence getText()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CDARichText

        public CDARichText​(java.lang.CharSequence text,
                           java.util.List<CDARichMark> marks)
        Create a text with the given marks
        Parameters:
        text - the text to be displayed
        marks - the marks to be used if any
    • Method Detail

      • getText

        public java.lang.CharSequence getText()
        Returns:
        the text of this node.