Class CDARichHeading


  • public class CDARichHeading
    extends CDARichBlock
    Defines a headline of the text.

    Can have an arbitrary level assigned, but useful probably between 1 and 6.

    • Constructor Summary

      Constructors 
      Constructor Description
      CDARichHeading​(int level)
      Create a heading block, describing a level elements deep nested heading.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getLevel()  
      • Methods inherited from class java.lang.Object

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

      • CDARichHeading

        public CDARichHeading​(int level)
        Create a heading block, describing a level elements deep nested heading.
        Parameters:
        level - a number indicating the level of this heading.
    • Method Detail

      • getLevel

        public int getLevel()
        Returns:
        the current nesting level of this heading.