Class LayoutPanel

All Implemented Interfaces:
com.globalmentor.beans.PropertyBindable, com.globalmentor.beans.PropertyConstrainable, io.clogr.Clogged, Box, Component, CompositeComponent, Container, LayoutComponent, Panel, Displayable, InfoModel, LabelModel, Model, PresentationModel, DepictedObject, Iterable<Component>
Direct Known Subclasses:
ArrangePanel, BusyPanel

public class LayoutPanel extends AbstractPanel
A general panel with a default page flow layout. This class, which has no particular semantics, is used for laying out child components without providing extra arrangement such as inter-child-component spacing.
Author:
Garret Wilson
  • Constructor Details

    • LayoutPanel

      public LayoutPanel()
      Default constructor with a default page flow layout.
    • LayoutPanel

      public LayoutPanel(Layout<?> layout)
      Layout constructor.
      Parameters:
      layout - The layout definition for the container.
      Throws:
      NullPointerException - if the given layout is null.