Modifier and Type | Field and Description |
---|---|
static BoundSize |
BoundSize.NULL_SIZE |
static BoundSize |
BoundSize.ZERO_PIXEL |
Modifier and Type | Method and Description |
---|---|
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.
|
BoundSize |
DimConstraint.getGapAfter()
Returns the gap after this entity.
|
BoundSize |
DimConstraint.getGapBefore()
Returns the gap before this entity.
|
BoundSize |
LC.getGridGapX()
If non-
null (null is default) these value will be used as the default gaps between the columns in the grid. |
static BoundSize |
PlatformDefaults.getGridGapX()
Returns the platform recommended inter-cell gap in the horizontal (x) dimension..
|
BoundSize |
LC.getGridGapY()
If non-
null (null is default) these value will be used as the default gaps between the rows in the grid. |
static BoundSize |
PlatformDefaults.getGridGapY()
Returns the platform recommended inter-cell gap in the vertical (x) dimension..
|
BoundSize |
LC.getHeight()
Returns the minimum/preferred/maximum size for the container that this layout constraint is set for.
|
BoundSize |
CC.getNewlineGapSize()
Returns the newline size if it is a custom size.
|
BoundSize |
LC.getPackHeight()
Returns the "pack height" for the window that this container is located in.
|
BoundSize |
LC.getPackWidth()
Returns the "pack width" for the window that this container is located in.
|
BoundSize |
DimConstraint.getSize()
Returns the min/preferred/max size for the entity in the dimension that this object describes.
|
BoundSize[] |
LayoutCallback.getSize(ComponentWrapper comp)
Returns a size similar to the "width" and "height" in the component constraint.
|
BoundSize |
LC.getWidth()
Returns the minimum/preferred/maximum size for the container that this layout constraint is set for.
|
BoundSize |
CC.getWrapGapSize()
Returns the wrap size if it is a custom size.
|
static BoundSize |
ConstraintParser.parseBoundSize(String s,
boolean isGap,
boolean isHor)
Parses a single "min:pref:max" value.
|
Modifier and Type | Method and Description |
---|---|
void |
DimConstraint.setGapAfter(BoundSize size)
Sets the gap after this entity.
|
void |
DimConstraint.setGapBefore(BoundSize size)
Sets the gap before this entity.
|
void |
LC.setGridGapX(BoundSize x)
If non-
null (null is default) these value will be used as the default gaps between the columns in the grid. |
void |
LC.setGridGapY(BoundSize y)
If non-
null (null is default) these value will be used as the default gaps between the rows in the grid. |
void |
LC.setHeight(BoundSize size)
Sets the minimum/preferred/maximum size for the container that this layout constraint is set for.
|
void |
CC.setNewlineGapSize(BoundSize s)
Set the newline size and turns newline on if
!= null . |
void |
LC.setPackHeight(BoundSize size)
Sets the "pack height" for the window that this container is located in.
|
void |
LC.setPackWidth(BoundSize size)
Sets the "pack width" for the window that this container is located in.
|
void |
DimConstraint.setSize(BoundSize size)
Sets the min/preferred/max size for the entity in the dimension that this object describes.
|
void |
LC.setWidth(BoundSize size)
Sets the minimum/preferred/maximum size for the container that this layout constraint is set for.
|
void |
CC.setWrapGapSize(BoundSize s)
Set the wrap size and turns wrap on if
!= null . |
Copyright © 2007–2021. All rights reserved.