Package com.vaadin.ui

Class Accordion

    • Constructor Detail

      • Accordion

        public Accordion()
        Creates an empty accordion.
      • Accordion

        public Accordion​(Component... components)
        Constructs a new accordion containing the given components.
        Parameters:
        components - The components to add to the accordion. Each component will be added to a separate tab.
    • Method Detail

      • getState

        protected AccordionState getState()
        Description copied from class: AbstractComponent
        Returns the shared state bean with information to be sent from the server to the client. Subclasses should override this method and set any relevant fields of the state returned by super.getState().
        Overrides:
        getState in class TabSheet
        Returns:
        updated component shared state