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 ACA constraint that holds the column or row constraints for the grid.
class BoundSizeA size that contains minimum, preferred and maximum size of type UnitValue.
class CCA simple value holder for one component’s constraint.
interface ComponentWrapperA class that wraps the important parts of a Component.
class ConstraintParserParses string constraints.
interface ContainerWrapperA class that wraps a container that contains components.
class DimConstraintA simple value holder for a constraint for one dimension.
class GridHolds components in a grid.
interface InCellGapProviderAn interface to implement if you want to decide the gaps between two types of components within the same cell.
class LCContains the constraints for an instance of the LC layout manager.
class LayoutCallbackA class to extend if you want to provide more control over where a component is placed or the size of it.
class LayoutUtilA utility class that has only static helper methods.
class LinkHandler
class MigLayoutA very flexible layout manager.
class PlatformDefaultsCurrently handles Windows, Mac OS X, and GNOME spacing.
class UnitConverter
class UnitValue