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, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, 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, addComponentAsFirst, addComponentAtIndex, 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)