Class BaseSection

  • All Implemented Interfaces:
    com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasSize, com.vaadin.flow.component.HasStyle, Serializable, HasCaption

    public class BaseSection
    extends LinkkiSection
    Base class for sections. Child components can be added using addContent(Component)
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BaseSection​(String caption, boolean closeable)
      Creates a new section with the given caption and closable state.
      BaseSection​(String caption, boolean closeable, int columns)
      Creates a new section with the given caption and closable state.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void addContent​(com.vaadin.flow.component.Component component)
      Adds the Component to the section's content
      com.vaadin.flow.component.Component getSectionContent()
      Deprecated.
      • Methods inherited from class com.vaadin.flow.component.HtmlComponent

        getTitle, setTitle
      • Methods inherited from class com.vaadin.flow.component.Component

        addListener, findAncestor, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, scrollIntoView, set, setElement, setId, setVisible
      • Methods inherited from interface com.vaadin.flow.component.AttachNotifier

        addAttachListener
      • Methods inherited from interface com.vaadin.flow.component.DetachNotifier

        addDetachListener
      • Methods inherited from interface com.vaadin.flow.component.HasElement

        getElement
      • Methods inherited from interface com.vaadin.flow.component.HasSize

        getHeight, getHeightUnit, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, getWidthUnit, setHeight, setHeight, setHeightFull, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidth, setWidthFull
      • Methods inherited from interface com.vaadin.flow.component.HasStyle

        addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
    • Constructor Detail

      • BaseSection

        public BaseSection​(String caption,
                           boolean closeable)
        Creates a new section with the given caption and closable state.
        Parameters:
        caption - the caption
        closeable - true if the section can be closed and opened.
      • BaseSection

        public BaseSection​(String caption,
                           boolean closeable,
                           int columns)
        Creates a new section with the given caption and closable state.
        Parameters:
        caption - the caption
        closeable - true if the section can be closed and opened.
        columns - number of columns in which the content components are displayed