public interface IAC
Modifier and Type | Method and Description |
---|---|
IAC |
align(java.lang.String side)
Specifies the current row/column's columns default alignment for its components.
|
IAC |
align(java.lang.String side,
int... indexes)
Specifies the indicated rows'/columns' columns default alignment for its components.
|
IAC |
count(int size)
Sets the total number of rows/columns to
size . |
IAC |
fill()
Specifies that the current row/column's component should grow by default.
|
IAC |
fill(int... indexes)
Specifies that the indicated rows'/columns' component should grow by default.
|
IAC |
gap()
Specifies the gap size to be the default one AND moves to the next column/row.
|
IAC |
gap(java.lang.String size)
Specifies the gap size to
size AND moves to the next column/row. |
IAC |
gap(java.lang.String size,
int... indexes)
Specifies the indicated rows'/columns' gap size to
size . |
IAC |
grow()
Specifies the current row/column's grow weight within columns/rows with the
grow priority 100f. |
IAC |
grow(float w)
Specifies the current row/column's grow weight within columns/rows with the same
grow priority . |
IAC |
grow(float w,
int... indexes)
Specifies the indicated rows'/columns' grow weight within columns/rows with the same
grow priority . |
IAC |
growPrio(int p)
Specifies the current row/column's grow priority.
|
IAC |
growPrio(int p,
int... indexes)
Specifies the indicated rows'/columns' grow priority.
|
IAC |
index(int i)
Sets the current row/column to
i . |
IAC |
noGrid()
Specifies that the current row/column should not be grid-like.
|
IAC |
noGrid(int... indexes)
Specifies that the indicated rows/columns should not be grid-like.
|
IAC |
shrink()
Specifies that the current row/column's shrink weight withing the columns/rows with the
shrink priority 100f. |
IAC |
shrink(float w)
Specifies that the current row/column's shrink weight withing the columns/rows with the same
shrink priority . |
IAC |
shrink(float w,
int... indexes)
Specifies the indicated rows'/columns' shrink weight withing the columns/rows with the same
shrink priority . |
IAC |
shrinkPrio(int p)
Specifies the current row/column's shrink priority.
|
IAC |
shrinkPrio(int p,
int... indexes)
Specifies the indicated rows'/columns' shrink priority.
|
IAC |
shrinkWeight(float w)
Deprecated.
in 3.7.2. Use
shrink(float) instead. |
IAC |
shrinkWeight(float w,
int... indexes)
Deprecated.
in 3.7.2. Use
shrink(float, int...) instead. |
IAC |
size(java.lang.String s)
Specifies the current row/column's min and/or preferred and/or max size.
|
IAC |
size(java.lang.String size,
int... indexes)
Specifies the indicated rows'/columns' min and/or preferred and/or max size.
|
IAC |
sizeGroup()
Specifies that the current row/column should be put in the size group
s and will thus share the same size
constraints as the other components in the group. |
IAC |
sizeGroup(java.lang.String s)
Specifies that the current row/column should be put in the size group
s and will thus share the same size
constraints as the other components in the group. |
IAC |
sizeGroup(java.lang.String s,
int... indexes)
Specifies that the indicated rows/columns should be put in the size group
s and will thus share the same size
constraints as the other components in the group. |
IAC count(int size)
size
. If the number of rows/columns is already more
than size
nothing will happen.size
- The total number of rows/columnsthis
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.IAC noGrid()
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 AxisConstraint().noGrid().gap().fill()
.IAC noGrid(int... indexes)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
indexes
- The index(es) (0-based) of the columns/rows that should be affected by this constraint.this
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.IAC index(int i)
i
. If the current number of rows/columns is less than i
a call
to count(int)
will set the size accordingly.
The next call to any of the constraint methods (e.g. net.miginfocom.layout.AC#noGrid
) will be carried out on this
new row/column.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
i
- The new current row/column.this
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.IAC fill()
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 AxisConstraint().noGrid().gap().fill()
.IAC fill(int... indexes)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
indexes
- The index(es) (0-based) of the columns/rows that should be affected by this constraint.this
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.IAC sizeGroup()
s
and will thus share the same size
constraints as the other components in the group.
Same as sizeGroup("")
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 AxisConstraint().noGrid().gap().fill()
.IAC sizeGroup(java.lang.String s)
s
and will thus share the same size
constraints as the other components in 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 AxisConstraint().noGrid().gap().fill()
.IAC sizeGroup(java.lang.String s, int... indexes)
s
and will thus share the same size
constraints as the other components in 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.indexes
- The index(es) (0-based) of the columns/rows that should be affected by this constraint.this
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.IAC size(java.lang.String s)
"10px"
or
"50:100:200"
.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
s
- The minimum and/or preferred and/or maximum size of this row. The string will be interpreted
as a BoundSize. For more info on how BoundSize is formatted see the documentation.this
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.IAC size(java.lang.String size, int... indexes)
"10px"
or
"50:100:200"
.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
size
- The minimum and/or preferred and/or maximum size of this row. The string will be interpreted
as a BoundSize. For more info on how BoundSize is formatted see the documentation.indexes
- The index(es) (0-based) of the columns/rows that should be affected by this constraint.this
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.IAC gap()
.gap()
rather the more natural .next()
to indicate that it is very much related to the other
.gap(..)
methods.
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 AxisConstraint().noGrid().gap().fill()
.IAC gap(java.lang.String size)
size
AND moves to the next column/row.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
size
- minimum and/or preferred and/or maximum size of the gap between this and the next row/column.
The string will be interpreted as a BoundSize. For more info on how BoundSize is formatted see the
documentation.this
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.IAC gap(java.lang.String size, int... indexes)
size
.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
size
- minimum and/or preferred and/or maximum size of the gap between this and the next row/column.
The string will be interpreted as a BoundSize. For more info on how BoundSize is formatted see the
documentation.indexes
- The index(es) (0-based) of the columns/rows that should be affected by this constraint.this
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.IAC align(java.lang.String side)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
side
- The default side to align the components. E.g. "top" or "left", or "leading" or "trailing" or "bottom" or
"right".this
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.IAC align(java.lang.String side, int... indexes)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
side
- The default side to align the components. E.g. "top" or "left", or "before" or "after" or "bottom" or "right".indexes
- The index(es) (0-based) of the columns/rows that should be affected by this constraint.this
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.IAC growPrio(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 new grow priority.this
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.IAC growPrio(int p, int... indexes)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
p
- The new grow priority.indexes
- The index(es) (0-based) of the columns/rows that should be affected by this constraint.this
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.IAC grow()
grow priority
100f.
Same as grow(100f)
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 AxisConstraint().noGrid().gap().fill()
.IAC grow(float w)
grow priority
.
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 AxisConstraint().noGrid().gap().fill()
.IAC grow(float w, int... indexes)
grow priority
.
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.indexes
- The index(es) (0-based) of the columns/rows that should be affected by this constraint.this
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.IAC shrinkPrio(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 new shrink priority.this
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.IAC shrinkPrio(int p, int... indexes)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
p
- The new shrink priority.indexes
- The index(es) (0-based) of the columns/rows that should be affected by this constraint.this
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.IAC shrink()
shrink priority
100f.
Same as shrink(100f)
.
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 AxisConstraint().noGrid().gap().fill()
.IAC shrink(float w)
shrink priority
.
For a more thorough explanation of what this constraint does see the White Paper or Cheat Sheet at www.migcomponents.com.
w
- The shrink weight.this
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.IAC shrink(float w, int... indexes)
shrink priority
.
For a more thorough explanation of what this constraint does see the White Paper or Cheat Sheet at www.migcomponents.com.
w
- The shrink weight.indexes
- The index(es) (0-based) of the columns/rows that should be affected by this constraint.this
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.@Deprecated IAC shrinkWeight(float w)
shrink(float)
instead.shrink priority
.
For a more thorough explanation of what this constraint does see the White Paper or Cheat Sheet at www.migcomponents.com.
w
- The shrink weight.this
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.@Deprecated IAC shrinkWeight(float w, int... indexes)
shrink(float, int...)
instead.shrink priority
.
For a more thorough explanation of what this constraint does see the White Paper or Cheat Sheet at www.migcomponents.com.
w
- The shrink weight.indexes
- The index(es) (0-based) of the columns/rows that should be affected by this constraint.this
so it is possible to chain calls. E.g. new AxisConstraint().noGrid().gap().fill()
.Siehe auch Jowidgets Nutzerhandbuch