Modifier and Type | Method and Description |
---|---|
ContainerWrapper |
Grid.getContainer() |
ContainerWrapper |
ComponentWrapper.getParent()
Returns the container for this component.
|
Modifier and Type | Method and Description |
---|---|
int |
BoundSize.constrain(int size,
float refValue,
ContainerWrapper parent)
Makes sure that
size is within min and max of this size. |
abstract int |
UnitConverter.convertToPixels(float value,
String unit,
boolean isHor,
float refValue,
ContainerWrapper parent,
ComponentWrapper comp)
Converts
value to pixels. |
static float |
PlatformDefaults.getMinimumButtonWidthIncludingPadding(float refValue,
ContainerWrapper parent,
ComponentWrapper comp) |
int |
UnitValue.getPixels(float refValue,
ContainerWrapper parent,
ComponentWrapper comp)
Returns the size in pixels rounded.
|
float |
UnitValue.getPixelsExact(float refValue,
ContainerWrapper parent,
ComponentWrapper comp)
Returns the size in pixels.
|
static boolean |
LayoutUtil.isDesignTime(ContainerWrapper cw)
Returns if design time is turned on for a Container in
ContainerWrapper . |
static boolean |
LayoutUtil.isLeftToRight(LC lc,
ContainerWrapper container)
Returns if left-to-right orientation is used.
|
static void |
LayoutUtil.setDesignTime(ContainerWrapper cw,
boolean b)
Sets if design time is turned on for a Container in
ContainerWrapper . |
Constructor and Description |
---|
Grid(ContainerWrapper container,
LC lc,
AC rowConstr,
AC colConstr,
Map<? extends ComponentWrapper,CC> ccMap,
ArrayList<LayoutCallback> callbackList)
Constructor.
|
Copyright © 2007–2021. All rights reserved.