Class BorderLayout

  • All Implemented Interfaces:
    com.vaadin.flow.component.AttachNotifier, com.vaadin.flow.component.DetachNotifier, com.vaadin.flow.component.HasComponents, com.vaadin.flow.component.HasElement, com.vaadin.flow.component.HasEnabled, Serializable

    @Tag("border-layout")
    @JsModule("./org/vaadin/firitin/layouts/border-layout.js")
    public class BorderLayout
    extends com.vaadin.flow.component.Component
    implements com.vaadin.flow.component.HasComponents
    A simple container that can position children in 5 regions, namely: NORTH, SOUTH, EAST, WEST, CENTER. Similar to https://docs.oracle.com/javase/7/docs/api/java/awt/BorderLayout.html
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  BorderLayout.Region  
    • Constructor Summary

      Constructors 
      Constructor Description
      BorderLayout()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void removeChildAt​(BorderLayout.Region region)  
      void setChildAt​(BorderLayout.Region region, com.vaadin.flow.component.Component component)  
      • 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.HasComponents

        add, add, add, addComponentAsFirst, addComponentAtIndex, remove, remove, removeAll
      • Methods inherited from interface com.vaadin.flow.component.HasElement

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

        isEnabled, setEnabled
    • Constructor Detail

      • BorderLayout

        public BorderLayout()
    • Method Detail

      • setChildAt

        public void setChildAt​(BorderLayout.Region region,
                               com.vaadin.flow.component.Component component)