Class AccordionPanel

    • Constructor Detail

      • AccordionPanel

        public AccordionPanel()
        Creates an empty panel.
      • AccordionPanel

        public AccordionPanel​(String summary,
                              Component content)
        Creates a panel with the provided summary text and content.
        Parameters:
        summary - the summary. Null is treated like an empty string.
        content - the content. If null no content is added.
      • AccordionPanel

        public AccordionPanel​(Component summary,
                              Component content)
        Creates a panel with the provided summary component and content.
        Parameters:
        summary - the summary. Null clears any existing summary.
        content - the content. If null no content is added.