Package com.vaadin.ui

Class HorizontalSplitPanel

    • Constructor Detail

      • HorizontalSplitPanel

        public HorizontalSplitPanel()
        Creates an empty horizontal split panel
      • HorizontalSplitPanel

        public HorizontalSplitPanel​(Component firstComponent,
                                    Component secondComponent)
        Creates a horizontal split panel containing the given components
        Parameters:
        firstComponent - The component to be placed to the left of the splitter
        secondComponent - The component to be placed to the right of the splitter
    • Method Detail

      • getState

        protected HorizontalSplitPanelState 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 AbstractSplitPanel
        Returns:
        updated component shared state