package com.codename1.ui.layouts.mig
Deprecated. This is an experimental integration with known bugs – do not rely on
it for production. Use the layouts in
com.codename1.ui.layouts instead.Codename One port of the MiG Layout manager.
MigLayout is a grid-based layout driven by string constraints
(LC, AC, CC, DimConstraint, BoundSize, UnitValue, …) parsed
through ConstraintParser. The wrapper classes
(CodenameOneMiGComponentWrapper, CodenameOneMiGContainerWrapper)
adapt the original MiG core to the Codename One component model.
Types
class AC | A constraint that holds the column or row constraints for the grid. |
class BoundSize | A size that contains minimum, preferred and maximum size of type UnitValue. |
class CC | A simple value holder for one component’s constraint. |
interface ComponentWrapper | A class that wraps the important parts of a Component. |
class ConstraintParser | Parses string constraints. |
interface ContainerWrapper | A class that wraps a container that contains components. |
class DimConstraint | A simple value holder for a constraint for one dimension. |
class Grid | Holds components in a grid. |
interface InCellGapProvider | An interface to implement if you want to decide the gaps between two types of components within the same cell. |
class LC | Contains the constraints for an instance of the LC layout manager. |
class LayoutCallback | A class to extend if you want to provide more control over where a component is placed or the size of it. |
class LayoutUtil | A utility class that has only static helper methods. |
class LinkHandler | |
class MigLayout | A very flexible layout manager. |
class PlatformDefaults | Currently handles Windows, Mac OS X, and GNOME spacing. |
class UnitConverter | |
class UnitValue |