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 com.vaadin.shared.ui.accordion.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
      • getState

        protected com.vaadin.shared.ui.accordion.AccordionState getState​(boolean markAsDirty)
        Description copied from class: AbstractClientConnector
        Returns the shared state for this connector.
        Overrides:
        getState in class TabSheet
        Parameters:
        markAsDirty - true if the connector should automatically be marked dirty, false otherwise
        Returns:
        The shared state for this connector. Never null.
        See Also:
        AbstractClientConnector.getState()