Class Heading

    • Constructor Detail

      • Heading

        public Heading()
        Default constructor with a default info model.
      • Heading

        public Heading​(int level)
        Heading level constructor with a default info model.
        Parameters:
        level - The zero-based level of the heading, or HeadingComponent.NO_HEADING_LEVEL if no level is specified.
      • Heading

        public Heading​(java.lang.String label)
        Label constructor.
        Parameters:
        label - The text of the label, or null if there should be no label.
      • Heading

        public Heading​(InfoModel infoModel)
        Info model constructor.
        Parameters:
        infoModel - The component info model.
        Throws:
        java.lang.NullPointerException - if the given info model is null.
      • Heading

        public Heading​(java.lang.String label,
                       int level)
        Label and level constructor.
        Parameters:
        label - The text of the label, or null if there should be no label.
        level - The zero-based level of the heading, or HeadingComponent.NO_HEADING_LEVEL if no level is specified.
      • Heading

        public Heading​(InfoModel infoModel,
                       int level)
        Info model and level constructor.
        Parameters:
        infoModel - The component info model.
        level - The zero-based level of the heading, or HeadingComponent.NO_HEADING_LEVEL if no level is specified.
        Throws:
        java.lang.NullPointerException - if the given session info model is null.