Containerto arrange its components by a set of rules that adapt to specific densities (ppi - pixels per inch).
A border layout lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center.
Layout manager that places elements in a row (
the usage of this layout is strongly discouraged as elements will not adapt to the right position/size
FlowLayout is the default layout manager for Codename One Containers and Forms.
Port of the GridBag code from Apache's Harmony
Codename One port of the infamous GridBagLayout based on the Apache Harmony code.
The components are arranged in a grid based on available space, all cells in the grid are given exactly the same size which matches the largest preferred size or available space.
GroupLayout is a LayoutManager that hierarchically groups components to achieve common, and not so common, layouts.
Port of Insets from Harmony for the use of the GridBag code
Abstract class that can be used to arrange components in a container using a predefined algorithm.
LayoutStyle is used to determine how much space to place between components during layout.
This is a special case layout specifically designed for
Layout managers allow a
arrange its components by a set of rules that adapt to specific
densities (ppi - pixels per inch). A layout manager is an arranging algorithm encapsulated
by an abstract class implementation that places components absolutely based
on the "hints" received.
FlowLayout is default layout manager, simple, flexible and with a few caveats.
BorderLayout is ubiquitous thru Codename One code.
BorderLayout can also behave differently based on the center behavior flag
BoxLayout Y axis is a the work-horse of component lists
BoxLayout X axis is a simpler replacement to flow layout and has grow/no grow variants.
GridLayout arranges elements in a grid where all elements have an equal size. It can auto adapt
the column count.
TableLayout is similar in many regards to HTML tables. Notice that its
com.codename1.ui.table package and not in this package.
LayeredLayout is unique in the sense that it is meant to costruct layers
and not the UI positions. It only lays out on the Z axis.
GridBagLayout was added to Codename One to ease the porting of Swing/AWT
MigLayout is a popular 3rd party layout manager its Codename One
port is experimental.