public interface ICC
Modifier and Type | Method and Description |
---|---|
ICC |
alignX(java.lang.String align)
Same functionality as
getHorizontal().setAlign(ConstraintParser.parseUnitValue(unitValue, true)) only this
method
returns this for chaining multiple calls. |
ICC |
alignY(java.lang.String align)
Same functionality as
getVertical().setAlign(ConstraintParser.parseUnitValue(unitValue, true)) only this
method
returns this for chaining multiple calls. |
ICC |
cell(int... colRowWidthHeight)
Set the cell(s) that the component should occupy in the grid.
|
ICC |
dockEast()
Same functionality as
#setDockSide(int 3) only this method returns this for chaining multiple calls. |
ICC |
dockNorth()
Same functionality as
#setDockSide(int 0) only this method returns this for chaining multiple calls. |
ICC |
dockSouth()
Same functionality as
#setDockSide(int 2) only this method returns this for chaining multiple calls. |
ICC |
dockWest()
Same functionality as
#setDockSide(int 1) only this method returns this for chaining multiple calls. |
ICC |
endGroup(java.lang.String... xy)
The end group(s) that this component should be placed in.
|
ICC |
endGroupX(java.lang.String s)
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. |
ICC |
endGroupY(java.lang.String s)
The end group that this component should be placed in.
|
ICC |
external()
Same functionality as
#setExternal(boolean true) only this method returns this for chaining multiple
calls. |
ICC |
flowX()
Same functionality as
#setFlowX(Boolean .TRUE) only this method returns this for chaining multiple
calls. |
ICC |
flowY()
Same functionality as
#setFlowX(Boolean .FALSE) only this method returns this for chaining multiple
calls. |
ICC |
gap(java.lang.String... args)
Corresponds exactly to the "gap left right top bottom" keyword.
|
ICC |
gapAfter(java.lang.String boundsSize)
Sets the horizontal gap after the component.
|
ICC |
gapBefore(java.lang.String boundsSize)
Sets the horizontal gap before the component.
|
ICC |
gapBottom(java.lang.String boundsSize)
Sets the gap below the component.
|
ICC |
gapLeft(java.lang.String boundsSize)
Sets the gap to the left of the component.
|
ICC |
gapRight(java.lang.String boundsSize)
Sets the gap to the right of the component.
|
ICC |
gapTop(java.lang.String boundsSize)
Sets the gap above the component.
|
ICC |
gapX(java.lang.String before,
java.lang.String after)
The horizontal gap before and/or after the component.
|
ICC |
gapY(java.lang.String before,
java.lang.String after)
The vertical gap before (normally above) and/or after (normally below) the component.
|
ICC |
grow()
|
ICC |
grow(float... widthHeight)
grow weight for the component horizontally and optionally vertically.
|
ICC |
growPrio(int... widthHeight)
Grow priority for the component horizontally and optionally vertically.
|
ICC |
growPrioX(int p)
The grow priority compared to other components in the same cell.
|
ICC |
growPrioY(int p)
The grow priority compared to other components in the same cell.
|
ICC |
growX()
Grow weight for the component horizontally.
|
ICC |
growX(float w)
Grow weight for the component horizontally.
|
ICC |
growY()
Grow weight for the component vertically.
|
ICC |
growY(java.lang.Float w)
Grow weight for the component vertically.
|
ICC |
height(java.lang.String size)
The size for the component as a min and/or preferred and/or maximum size.
|
ICC |
hideMode(int mode)
How this component, if hidden (not visible), should be treated.
|
ICC |
id(java.lang.String s)
The id used to reference this component in some constraints.
|
ICC |
maxHeight(java.lang.String size)
The maximum size for the component.
|
ICC |
maxWidth(java.lang.String size)
The maximum size for the component.
|
ICC |
minHeight(java.lang.String size)
The minimum size for the component.
|
ICC |
minWidth(java.lang.String size)
The minimum size for the component.
|
ICC |
newline()
Same functionality as
#setNewline(boolean true) only this method returns this for chaining multiple
calls. |
ICC |
newline(java.lang.String gapSize)
Same functionality as
#setNewlineGapSize(BoundSize) only this method returns this for chaining
multiple calls. |
ICC |
pad(int top,
int left,
int bottom,
int right)
Same functionality as
#setPadding(UnitValue[]) but the unit values as absolute pixels. |
ICC |
pad(java.lang.String pad)
Same functionality as
setPadding(ConstraintParser.parseInsets(pad, false))} only this method returns
this for chaining multiple calls. |
ICC |
pos(java.lang.String x,
java.lang.String y)
Same functionality as
x(String x) and y(String y) toghether. |
ICC |
pos(java.lang.String x,
java.lang.String y,
java.lang.String x2,
java.lang.String y2)
|
ICC |
push()
Same functionality as
pushX().pushY() which means this cell will push in both x and y dimensions. |
ICC |
push(java.lang.Float weightX,
java.lang.Float weightY)
Same functionality as
pushX(weightX).pushY(weightY) which means this cell will push in both x and y
dimensions. |
ICC |
pushX()
Same functionality as
#setPushX(Float) which means this cell will push the rest of the row. |
ICC |
pushX(java.lang.Float weight)
Same functionality as
#setPushX(Float weight) only this method returns this for chaining multiple
calls. |
ICC |
pushY()
Same functionality as
#setPushY(Float)) which means this cell will push the rest of the column. |
ICC |
pushY(java.lang.Float weight)
Same functionality as
#setPushY(Float weight) only this method returns this for chaining multiple
calls. |
ICC |
shrink(float... widthHeight)
Shrink weight for the component horizontally and optionally vertically.
|
ICC |
shrinkPrio(int... widthHeight)
Shrink priority for the component horizontally and optionally vertically.
|
ICC |
shrinkPrioX(int p)
The shrink priority compared to other components in the same cell.
|
ICC |
shrinkPrioY(int p)
The shrink priority compared to other components in the same cell.
|
ICC |
shrinkX(float w)
Shrink weight for the component horizontally.
|
ICC |
shrinkY(float w)
Shrink weight for the component horizontally.
|
ICC |
sizeGroup(java.lang.String... xy)
The size group(s) that this component should be placed in.
|
ICC |
sizeGroupX(java.lang.String s)
Specifies that the component should be put in the size group
s and will thus share the same size
as them within the group. |
ICC |
sizeGroupY(java.lang.String s)
The size group that this component should be placed in.
|
ICC |
skip()
Same functionality as skip(1).
|
ICC |
skip(int cells)
Same functionality as
#setSkip(int) only this method returns this for chaining multiple calls. |
ICC |
span(int... cells)
Same functionality as
spanX(cellsX).spanY(cellsY) which means this cell will span cells in both x and y. |
ICC |
spanX()
Same functionality as
#setSpanX(int) which means this cell will span the rest of the row. |
ICC |
spanX(int cells)
Same functionality as
#setSpanX(int) only this method returns this for chaining multiple calls. |
ICC |
spanY()
Same functionality as
#setSpanY(int) which means this cell will span the rest of the column. |
ICC |
spanY(int cells)
Same functionality as
#setSpanY(int) only this method returns this for chaining multiple calls. |
ICC |
split()
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. wrap, newline and skip).
|
ICC |
split(int parts)
Same functionality as
#setSplit(int parts) only this method returns this for chaining multiple calls. |
ICC |
tag(java.lang.String tag)
Same functionality as
#setTag(String tag) only this method returns this for chaining multiple calls. |
ICC |
width(java.lang.String size)
The size for the component as a min and/or preferref and/or maximum size.
|
ICC |
wrap()
Same functionality as
#setWrap(boolean true) only this method returns this for chaining multiple
calls. |
ICC |
wrap(java.lang.String gapSize)
Same functionality as
#setWrapGapSize(BoundSize) only this method returns this for chaining multiple
calls. |
ICC |
x(java.lang.String x)
Sets the x-coordinate for the component.
|
ICC |
x2(java.lang.String x2)
Sets the x2-coordinate for the component (right side).
|
ICC |
y(java.lang.String y)
Sets the y-coordinate for the component.
|
ICC |
y2(java.lang.String y2)
Sets the y2-coordinate for the component (bottom side).
|
ICC endGroupX(java.lang.String s)
s
and will thus share the same ending
coordinate as them within the group.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
s
- A name to associate on the group that should be the same for other rows/columns in the same group.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC sizeGroupX(java.lang.String s)
s
and will thus share the same size
as them within the group.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
s
- A name to associate on the group that should be the same for other rows/columns in the same group.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC minWidth(java.lang.String size)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
size
- The size expressed as a UnitValue
. E.g. "100px" or "200mm".this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC width(java.lang.String size)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
size
- The size expressed as a BoundSize
. E.g. "50:100px:200mm" or "100px".this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC maxWidth(java.lang.String size)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
size
- The size expressed as a UnitValue
. E.g. "100px" or "200mm".this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC gapX(java.lang.String before, java.lang.String after)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
before
- The size of the gap expressed as a BoundSize
. E.g. "50:100px:200mm" or "100px!".after
- The size of the gap expressed as a BoundSize
. E.g. "50:100px:200mm" or "100px!".this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC alignX(java.lang.String align)
getHorizontal().setAlign(ConstraintParser.parseUnitValue(unitValue, true))
only this
method
returns this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
align
- The align keyword or for instance "100px". E.g "left", "right", "leading" or "trailing".this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC growPrioX(int p)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
p
- The grow priority.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC growPrio(int... widthHeight)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
widthHeight
- The new shrink weight and height. 1-2 arguments, never null.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC growX()
100
.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.growX(float)
ICC growX(float w)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
w
- The new grow weight.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC grow(float... widthHeight)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
widthHeight
- The new shrink weight and height. 1-2 arguments, never null.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC shrinkPrioX(int p)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
p
- The shrink priority.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC shrinkPrio(int... widthHeight)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
widthHeight
- The new shrink weight and height. 1-2 arguments, never null.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC shrinkX(float w)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
w
- The new shrink weight.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC shrink(float... widthHeight)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
widthHeight
- The new shrink weight and height. 1-2 arguments, never null.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC endGroupY(java.lang.String s)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
s
- The name of the group. If null
that means no group (default)this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC endGroup(java.lang.String... xy)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
xy
- The end group for x and y respectively. 1-2 arguments, not null.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC sizeGroupY(java.lang.String s)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
s
- The name of the group. If null
that means no group (default)this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC sizeGroup(java.lang.String... xy)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
xy
- The size group for x and y respectively. 1-2 arguments, not null.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC minHeight(java.lang.String size)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
size
- The size expressed as a UnitValue
. E.g. "100px" or "200mm".this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC height(java.lang.String size)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
size
- The size expressed as a BoundSize
. E.g. "50:100px:200mm" or "100px".this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC maxHeight(java.lang.String size)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
size
- The size expressed as a UnitValue
. E.g. "100px" or "200mm".this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC gapY(java.lang.String before, java.lang.String after)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
before
- The size of the gap expressed as a BoundSize
. E.g. "50:100px:200mm" or "100px!".after
- The size of the gap expressed as a BoundSize
. E.g. "50:100px:200mm" or "100px!".this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC alignY(java.lang.String align)
getVertical().setAlign(ConstraintParser.parseUnitValue(unitValue, true))
only this
method
returns this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
align
- The align keyword or for instance "100px". E.g "top" or "bottom".this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC growPrioY(int p)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
p
- The grow priority.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC growY()
100
.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.growY(Float)
ICC growY(java.lang.Float w)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
w
- The new grow weight.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC shrinkPrioY(int p)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
p
- The shrink priority.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC shrinkY(float w)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
w
- The new shrink weight.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC hideMode(int mode)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
mode
- The mode. Default to the mode in the ILC.miginfocom.layout.LC
.
0 == Normal. Bounds will be calculated as if the component was visible.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC id(java.lang.String s)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
s
- The id or null
. May consist of a groupID and an componentID which are separated by a dot: ".". E.g.
"grp1.id1".
The dot should never be first or last if present.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.ICC tag(java.lang.String tag)
#setTag(String tag)
only this method returns this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
tag
- The new tag. May be null
.this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.#setTag(String)
ICC cell(int... colRowWidthHeight)
#setCellX(int col)
and
#setCellY(int row)
together with #setSpanX(int width)
and #setSpanY(int height)
. This method
returns this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
colRowWidthHeight
- cellX, cellY, spanX, spanY repectively. 1-4 arguments, not null.this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.#setCellX(int)
,
#setCellY(int)
,
#setSpanX(int)
,
#setSpanY(int)
ICC span(int... cells)
spanX(cellsX).spanY(cellsY)
which means this cell will span cells in both x and y.
This method returns this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com. Since 3.7.2 this takes an array/vararg whereas it previously only took two specific values, xSpan and ySpan.
ICC gap(java.lang.String... args)
args
- Same as for the "gap" keyword. Length 1-4, never null buf elements can be null.this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.ICC gapBefore(java.lang.String boundsSize)
Note! This is currently same as gapLeft(). This might change in 4.x.
boundsSize
- The size of the gap expressed as a BoundSize
. E.g. "50:100px:200mm" or "100px!".this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.ICC gapAfter(java.lang.String boundsSize)
Note! This is currently same as gapLeft(). This might change in 4.x.
boundsSize
- The size of the gap expressed as a BoundSize
. E.g. "50:100px:200mm" or "100px!".this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.ICC gapTop(java.lang.String boundsSize)
boundsSize
- The size of the gap expressed as a BoundSize
. E.g. "50:100px:200mm" or "100px!".this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.ICC gapLeft(java.lang.String boundsSize)
boundsSize
- The size of the gap expressed as a BoundSize
. E.g. "50:100px:200mm" or "100px!".this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.ICC gapBottom(java.lang.String boundsSize)
boundsSize
- The size of the gap expressed as a BoundSize
. E.g. "50:100px:200mm" or "100px!".this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.ICC gapRight(java.lang.String boundsSize)
boundsSize
- The size of the gap expressed as a BoundSize
. E.g. "50:100px:200mm" or "100px!".this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.ICC spanY()
#setSpanY(int)
which means this cell will span the rest of the column.
This method returns this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.#setSpanY(int)
,
spanY()
ICC spanY(int cells)
#setSpanY(int)
only this method returns this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
cells
- The number of cells to span (i.e. merge).this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.#setSpanY(int)
ICC spanX()
#setSpanX(int)
which means this cell will span the rest of the row.
This method returns this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.#setSpanX(int)
,
spanX()
ICC spanX(int cells)
#setSpanX(int)
only this method returns this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
cells
- The number of cells to span (i.e. merge).this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.#setSpanY(int)
ICC push()
pushX().pushY()
which means this cell will push in both x and y dimensions.
This method returns this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
ICC push(java.lang.Float weightX, java.lang.Float weightY)
pushX(weightX).pushY(weightY)
which means this cell will push in both x and y
dimensions.
This method returns this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
ICC pushY()
#setPushY(Float))
which means this cell will push the rest of the column.
This method returns this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.#setPushY(Float)
ICC pushY(java.lang.Float weight)
#setPushY(Float weight)
only this method returns this
for chaining multiple
calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
weight
- The weight used in the push.this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.#setPushY(Float)
ICC pushX()
#setPushX(Float)
which means this cell will push the rest of the row.
This method returns this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.#setPushX(Float)
ICC pushX(java.lang.Float weight)
#setPushX(Float weight)
only this method returns this
for chaining multiple
calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
weight
- The weight used in the push.this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.#setPushY(Float)
ICC split(int parts)
#setSplit(int parts)
only this method returns this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
parts
- The number of parts (i.e. component slots) the cell should be divided into.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setSplit(int)
ICC split()
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setSplit(int)
ICC skip(int cells)
#setSkip(int)
only this method returns this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
cells
- How many cells in the grid that should be skipped before the component that this constraint belongs tothis
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setSkip(int)
ICC skip()
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setSkip(int)
ICC external()
#setExternal(boolean true)
only this method returns this
for chaining multiple
calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setExternal(boolean)
ICC flowX()
#setFlowX(Boolean .TRUE)
only this method returns this
for chaining multiple
calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setFlowX(Boolean)
ICC flowY()
#setFlowX(Boolean .FALSE)
only this method returns this
for chaining multiple
calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setFlowX(Boolean)
ICC grow()
ICC newline()
#setNewline(boolean true)
only this method returns this
for chaining multiple
calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setNewline(boolean)
ICC newline(java.lang.String gapSize)
#setNewlineGapSize(BoundSize)
only this method returns this
for chaining
multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
gapSize
- The gap size that will override the gap size in the row/colum constraints if != null
. E.g.
"5px" or "unrel".
If null
or ""
the newline size will be set to the default size and turned on. This is
different compared to #setNewlineGapSize(BoundSize)
.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setNewlineGapSize(BoundSize)
ICC wrap()
#setWrap(boolean true)
only this method returns this
for chaining multiple
calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setWrap(boolean)
ICC wrap(java.lang.String gapSize)
#setWrapGapSize(BoundSize)
only this method returns this
for chaining multiple
calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
gapSize
- The gap size that will override the gap size in the row/colum constraints if != null
. E.g.
"5px" or "unrel".
If null
or ""
the wrap size will be set to the default size and turned on. This is
different compared to #setWrapGapSize(BoundSize)
.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setWrapGapSize(BoundSize)
ICC dockNorth()
#setDockSide(int 0)
only this method returns this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setDockSide(int)
ICC dockWest()
#setDockSide(int 1)
only this method returns this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setDockSide(int)
ICC dockSouth()
#setDockSide(int 2)
only this method returns this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setDockSide(int)
ICC dockEast()
#setDockSide(int 3)
only this method returns this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setDockSide(int)
ICC x(java.lang.String x)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
x
- The x position as a UnitValue. E.g. "10" or "40mm" or "container.x+10".this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setPos(UnitValue[])
,
#setBoundsInGrid(boolean)
ICC y(java.lang.String y)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
y
- The y position as a UnitValue. E.g. "10" or "40mm" or "container.x+10".this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setPos(UnitValue[])
,
#setBoundsInGrid(boolean)
ICC x2(java.lang.String x2)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
x2
- The x2 side's position as a UnitValue. E.g. "10" or "40mm" or "container.x2 - 10".this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setPos(UnitValue[])
,
#setBoundsInGrid(boolean)
ICC y2(java.lang.String y2)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
y2
- The y2 side's position as a UnitValue. E.g. "10" or "40mm" or "container.x2 - 10".this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setPos(UnitValue[])
,
#setBoundsInGrid(boolean)
ICC pos(java.lang.String x, java.lang.String y)
x(String x)
and y(String y)
toghether.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
x
- The x position as a UnitValue. E.g. "10" or "40mm" or "container.x+10".y
- The y position as a UnitValue. E.g. "10" or "40mm" or "container.x+10".this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setPos(UnitValue[])
ICC pos(java.lang.String x, java.lang.String y, java.lang.String x2, java.lang.String y2)
x(String x)
, y(String y)
, y2(String y)
and y2(String y)
toghether.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
x
- The x position as a UnitValue. E.g. "10" or "40mm" or "container.x+10".y
- The y position as a UnitValue. E.g. "10" or "40mm" or "container.x+10".x2
- The x2 side's position as a UnitValue. E.g. "10" or "40mm" or "container.x2 - 10".y2
- The y2 side's position as a UnitValue. E.g. "10" or "40mm" or "container.x2 - 10".this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setPos(UnitValue[])
ICC pad(int top, int left, int bottom, int right)
#setPadding(UnitValue[])
but the unit values as absolute pixels. This method returns
this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
top
- The top padding that will be added to the y coordinate at the last stage in the layout.left
- The top padding that will be added to the x coordinate at the last stage in the layout.bottom
- The top padding that will be added to the y2 coordinate at the last stage in the layout.right
- The top padding that will be added to the x2 coordinate at the last stage in the layout.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setTag(String)
ICC pad(java.lang.String pad)
setPadding(ConstraintParser.parseInsets(pad, false))}
only this method returns
this
for chaining multiple calls.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
pad
- The string to parse. E.g. "10 10 10 10" or "20". If less than 4 groups the last will be used for the missing.this
so it is possible to chain calls. E.g.
new ComponentConstraint().noGrid().gap().fill()
.#setTag(String)
Siehe auch Jowidgets Nutzerhandbuch