Modifier and Type | Interface and Description |
---|---|
interface |
ContainerWrapper
A class that wraps a container that contains components.
|
Modifier and Type | Method and Description |
---|---|
ComponentWrapper[] |
ContainerWrapper.getComponents()
Returns the components of the container that wrapper is wrapping.
|
Modifier and Type | Method and Description |
---|---|
static Map<ComponentWrapper,CC> |
ConstraintParser.parseComponentConstraints(Map<ComponentWrapper,String> constrMap)
Parses all component constraints and stores the parsed values in the transient (cache) member variables.
|
Modifier and Type | Method and Description |
---|---|
abstract int |
UnitConverter.convertToPixels(float value,
String unit,
boolean isHor,
float refValue,
ContainerWrapper parent,
ComponentWrapper comp)
Converts
value to pixels. |
void |
LayoutCallback.correctBounds(ComponentWrapper comp)
A last minute change of the bounds.
|
BoundSize |
InCellGapProvider.getDefaultGap(ComponentWrapper comp,
ComponentWrapper adjacentComp,
int adjacentSide,
String tag,
boolean isLTR)
Returns the default gap between two components that are in the same cell.
|
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.
|
UnitValue[] |
LayoutCallback.getPosition(ComponentWrapper comp)
Returns a position similar to the "pos" the component constraint.
|
BoundSize[] |
LayoutCallback.getSize(ComponentWrapper comp)
Returns a size similar to the "width" and "height" in the component constraint.
|
Modifier and Type | Method and Description |
---|---|
static Map<ComponentWrapper,CC> |
ConstraintParser.parseComponentConstraints(Map<ComponentWrapper,String> constrMap)
Parses all component constraints and stores the parsed values in the transient (cache) member variables.
|
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.