Same functionality as getHorizontal().setAlign(ConstraintParser.parseUnitValue(unitValue, true))
only this method
returns this
for chaining multiple calls.
Strongly typed API for most common usages
Same functionality as getVertical().setAlign(ConstraintParser.parseUnitValue(unitValue, true))
only this method
returns this
for chaining multiple calls.
Strongly typed API for most common usages
CC.cell(int... colRowWidthHeight)
Set the cell(s) that the component should occupy in the grid.
Same functionality as calling
setDockSide(int)
with
3
only this method returns
this
for chaining multiple calls.
Same functionality as calling
setDockSide(int)
with
0
only this method returns
this
for chaining multiple calls.
Same functionality as calling
setDockSide(int)
with
2
only this method returns
this
for chaining multiple calls.
Same functionality as calling
setDockSide(int)
with
1
only this method returns
this
for chaining multiple calls.
The end group(s) that this component should be placed in.
Specifies that the component should be put in the end group s
and will thus share the same ending
coordinate as them within the group.
The end group that this component should be placed in.
Same functionality as calling
setExternal(boolean)
with
true
only this method returns
this
for chaining multiple calls.
Same functionality as calling
setFlowX(Boolean)
with
Boolean.TRUE
only this method returns
this
for chaining multiple calls.
Same functionality as calling
setFlowX(Boolean)
with
Boolean.FALSE
only this method returns
this
for chaining multiple calls.
Corresponds exactly to the "gap left right top bottom" keyword.
Sets the horizontal gap after the component.
Sets the horizontal gap before the component.
Sets the gap below the component.
Sets the gap to the left the component.
Sets the gap to the right of the component.
Sets the gap above the component.
The horizontal gap before and/or after the component.
The vertical gap before (normally above) and/or after (normally below) the component.
CC.grow(float... widthHeight)
grow weight for the component horizontally and optionally vertically.
Grow priority for the component horizontally and optionally vertically.
The grow priority compared to other components in the same cell.
The grow priority compared to other components in the same cell.
Grow weight for the component horizontally.
Grow weight for the component horizontally.
Grow weight for the component vertically.
Grow weight for the component vertically.
The size for the component as a min and/or preferred and/or maximum size.
How this component, if hidden (not visible), should be treated.
The id used to reference this component in some constraints.
The maximum size for the component.
The maximum size for the component.
The minimum size for the component.
The minimum size for the component.
Same functionality as calling
setNewline(boolean)
with
true
only this method returns
this
for chaining multiple calls.
CC.pad(int top,
int left,
int bottom,
int right)
Same functionality as setPadding(ConstraintParser.parseInsets(pad, false))}
only this method returns this
for chaining multiple calls.
Parses one component constraint and returns the parsed value.
Same functionality as pushX().pushY()
which means this cell will push in both x and y dimensions.
Same functionality as pushX(weightX).pushY(weightY)
which means this cell will push in both x and y dimensions.
Same functionality as
setPushX(Float)
which means this cell will push the rest of the row.
Same functionality as
setPushY(Float)
which means this cell will push the rest of the column.
CC.shrink(float... widthHeight)
Shrink weight for the component horizontally and optionally vertically.
Shrink priority for the component horizontally and optionally vertically.
The shrink priority compared to other components in the same cell.
The shrink priority compared to other components in the same cell.
Shrink weight for the component horizontally.
Shrink weight for the component horizontally.
The size group(s) that this component should be placed in.
Specifies that the component should be put in the size group s
and will thus share the same size
as them within the group.
The size group that this component should be placed in.
Same functionality as skip(1).
Same functionality as
setSkip(int)
only this method returns
this
for chaining multiple calls.
Same functionality as spanX(cellsX).spanY(cellsY)
which means this cell will span cells in both x and y.
Same functionality as
setSpanX(int)
which means this cell will span the rest of the row.
Same functionality as
setSpanX(int)
only this method returns
this
for chaining multiple calls.
Same functionality as calling
setSpanY(int)
with
LayoutUtil.INF
which means this cell will span the rest of the column.
Same functionality as
setSpanY(int)
only this method returns
this
for chaining multiple calls.
Same functionality as split(LayoutUtil.INF), which means split until one of the keywords that breaks the split is found for
a component after this one (e.g.
Same functionality as
setSplit(int parts)
only this method returns
this
for chaining multiple calls.
Same functionality as
setTag(String tag)
only this method returns
this
for chaining multiple calls.
The size for the component as a min and/or preferred and/or maximum size.
Same functionality as calling
setWrap(boolean)
with
true
only this method returns
this
for chaining multiple calls.
Sets the x-coordinate for the component.
Sets the x2-coordinate for the component (right side).
Sets the y-coordinate for the component.
Sets the y2-coordinate for the component (bottom side).