Class Paragraph

    • Constructor Detail

      • Paragraph

        public Paragraph()
        Creates a new empty paragraph.
      • Paragraph

        public Paragraph​(Component... components)
        Creates a new paragraph with the given child components.
        Parameters:
        components - the child components
      • Paragraph

        public Paragraph​(String text)
        Creates a new paragraph with the given text.
        Parameters:
        text - the text