public interface ILC
ILC
layout manager.Modifier and Type | Method and Description |
---|---|
ILC |
align(java.lang.String ax,
java.lang.String ay)
Sets both the alignX and alignY as the same time.
|
ILC |
alignX(java.lang.String align)
Same functionality as
setAlignX(ConstraintParser.parseUnitValueOrAlign(unitValue, true)) only this method
returns this for chaining multiple calls. |
ILC |
alignY(java.lang.String align)
Same functionality as
setAlignY(ConstraintParser.parseUnitValueOrAlign(align, false)) only this method returns
this for chaining multiple calls. |
ILC |
bottomToTop()
Same functionality as
#setTopToBottom(boolean false) only this method returns this for chaining
multiple calls. |
ILC |
debug(int repaintMillis)
Same functionality as
#setDebugMillis(int repaintMillis) only this method returns this for chaining
multiple calls. |
ILC |
fill()
Same functionality as
#setFillX(boolean true) and #setFillY(boolean true) conmbined.T his method returns
this for chaining multiple calls. |
ILC |
fillX()
Same functionality as
#setFillX(boolean true) only this method returns this for chaining multiple
calls. |
ILC |
fillY()
Same functionality as
#setFillY(boolean true) only this method returns this for chaining multiple
calls. |
ILC |
flowX()
Same functionality as
#setFlowX(boolean true) only this method returns this for chaining multiple
calls. |
ILC |
flowY()
Same functionality as
#setFlowX(boolean false) only this method returns this for chaining multiple
calls. |
ILC |
gridGap(java.lang.String gapx,
java.lang.String gapy)
Sets both grid gaps at the same time. see
gridGapX(String) and gridGapY(String) . |
ILC |
gridGapX(java.lang.String boundsSize)
Same functionality as
setGridGapX(ConstraintParser.parseBoundSize(boundsSize, true, true)) only this method
returns this for chaining multiple calls. |
ILC |
gridGapY(java.lang.String boundsSize)
Same functionality as
setGridGapY(ConstraintParser.parseBoundSize(boundsSize, true, false)) only this method
returns this for chaining multiple calls. |
ILC |
height(java.lang.String height)
The height for the container as a min and/or preferred and/or maximum height.
|
ILC |
hideMode(int mode)
Same functionality as
#setHideMode(int mode) only this method returns this for chaining multiple
calls. |
ILC |
insets(java.lang.String s)
Same functionality as
setInsets(ConstraintParser.parseInsets(s, true)) . |
ILC |
insets(java.lang.String top,
java.lang.String left,
java.lang.String bottom,
java.lang.String right)
Sets the different insets (expressed as a
UnitValue s, e.g. "10px" or "20mm") for the corresponding sides. |
ILC |
insetsAll(java.lang.String allSides)
Sets the same inset (expressed as a
UnitValue , e.g. "10px" or "20mm") all around. |
ILC |
leftToRight(boolean b)
Same functionality as
#setLeftToRight(Boolean) only this method returns this for chaining multiple
calls. |
ILC |
maxHeight(java.lang.String height)
The maximum height for the container.
|
ILC |
maxWidth(java.lang.String width)
The maximum width for the container.
|
ILC |
minHeight(java.lang.String height)
The minimum height for the container.
|
ILC |
minWidth(java.lang.String width)
The minimum width for the container.
|
ILC |
noCache()
Same functionality as
#setNoCache(boolean true) only this method returns this for chaining multiple
calls. |
ILC |
noGrid()
Same functionality as
#setNoGrid(boolean true) only this method returns this for chaining multiple
calls. |
ILC |
noVisualPadding()
Same functionality as
#setVisualPadding(boolean false) only this method returns this for chaining
multiple calls. |
ILC |
pack()
Short for, and thus same as,
.pack("pref", "pref") . |
ILC |
pack(java.lang.String width,
java.lang.String height)
Sets the pack width and height.
|
ILC |
packAlign(float alignX,
float alignY)
Sets the pack width and height alignment.
|
ILC |
rightToLeft()
Same functionality as setLeftToRight(false) only this method returns
this for chaining multiple calls. |
ILC |
topToBottom()
Same functionality as
#setTopToBottom(boolean true) only this method returns this for chaining
multiple calls. |
ILC |
width(java.lang.String width)
The width for the container as a min and/or preferred and/or maximum width.
|
ILC |
wrap()
Sets a wrap after the number of columns/rows that is defined in the
net.miginfocom.layout.AC . |
ILC |
wrapAfter(int count)
Same functionality as
#setWrapAfter(int) only this method returns this for chaining multiple calls. |
ILC pack()
.pack("pref", "pref")
.
Same functionality as #setPackHeight(BoundSize)
and #setPackWidth(net.miginfocom.layout.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.
this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.ILC pack(java.lang.String width, java.lang.String height)
Same functionality as #setPackHeight(BoundSize)
and #setPackWidth(net.miginfocom.layout.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.
width
- The pack width. May be null
.height
- The pack height. May be null
.this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.ILC packAlign(float alignX, float alignY)
Same functionality as #setPackHeightAlign(float)
and #setPackWidthAlign(float)
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.
alignX
- The pack width alignment. 0.5f is default.alignY
- The pack height alignment. 0.5f is default.this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.ILC wrap()
net.miginfocom.layout.AC
.
Same functionality as #setWrapAfter(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 LayoutConstraint().noGrid().gap().fill()
.ILC wrapAfter(int count)
#setWrapAfter(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.
count
- After what cell the grid should always auto wrap. If 0
the number of columns/rows in thethis
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.ILC noCache()
#setNoCache(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 LayoutConstraint().noGrid().gap().fill()
.ILC 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 LayoutConstraint().noGrid().gap().fill()
.ILC 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 LayoutConstraint().noGrid().gap().fill()
.ILC fill()
#setFillX(boolean true)
and #setFillY(boolean true)
conmbined.T his 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()
.ILC fillX()
#setFillX(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 LayoutConstraint().noGrid().gap().fill()
.ILC fillY()
#setFillY(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 LayoutConstraint().noGrid().gap().fill()
.ILC leftToRight(boolean b)
#setLeftToRight(Boolean)
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.
b
- true
for forcing left-to-right. false
for forcing right-to-left.this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.ILC rightToLeft()
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()
.ILC bottomToTop()
#setTopToBottom(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 LayoutConstraint().noGrid().gap().fill()
.ILC topToBottom()
#setTopToBottom(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 LayoutConstraint().noGrid().gap().fill()
.ILC noGrid()
#setNoGrid(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 LayoutConstraint().noGrid().gap().fill()
.ILC noVisualPadding()
#setVisualPadding(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 LayoutConstraint().noGrid().gap().fill()
.ILC insetsAll(java.lang.String allSides)
UnitValue
, e.g. "10px" or "20mm") all around.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
allSides
- The unit value to set for all sides. May be null
which means that the default panel insets
for the platform is used.this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.#setInsets(UnitValue[])
ILC insets(java.lang.String s)
setInsets(ConstraintParser.parseInsets(s, true))
. 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.
s
- 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 LayoutConstraint().noGrid().gap().fill()
.#setInsets(UnitValue[])
ILC insets(java.lang.String top, java.lang.String left, java.lang.String bottom, java.lang.String right)
UnitValue
s, e.g. "10px" or "20mm") for the corresponding sides.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
top
- The top inset. E.g. "10px" or "10mm" or "related". May be null
in which case the default inset for
this
side for the platform will be used.left
- The left inset. E.g. "10px" or "10mm" or "related". May be null
in which case the default inset
for this
side for the platform will be used.bottom
- The bottom inset. E.g. "10px" or "10mm" or "related". May be null
in which case the default
inset for this
side for the platform will be used.right
- The right inset. E.g. "10px" or "10mm" or "related". May be null
in which case the default inset
for this
side for the platform will be used.this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.#setInsets(UnitValue[])
ILC alignX(java.lang.String align)
setAlignX(ConstraintParser.parseUnitValueOrAlign(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 LayoutConstraint().noGrid().gap().fill()
.#setAlignX(UnitValue)
ILC alignY(java.lang.String align)
setAlignY(ConstraintParser.parseUnitValueOrAlign(align, 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.
align
- The align keyword or for instance "100px". E.g "top" or "bottom".this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.#setAlignY(UnitValue)
ILC align(java.lang.String ax, java.lang.String ay)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
ax
- The align keyword or for instance "100px". E.g "left", "right", "leading" or "trailing".ay
- The align keyword or for instance "100px". E.g "top" or "bottom".this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.alignX(String)
,
alignY(String)
ILC gridGapX(java.lang.String boundsSize)
setGridGapX(ConstraintParser.parseBoundSize(boundsSize, true, 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.
boundsSize
- The BoundSize
of the gap. This is a minimum and/or preferred and/or maximum size. E.g.
"50:100:200"
or "100px"
.this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.#setGridGapX(BoundSize)
ILC gridGapY(java.lang.String boundsSize)
setGridGapY(ConstraintParser.parseBoundSize(boundsSize, true, 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.
boundsSize
- The BoundSize
of the gap. This is a minimum and/or preferred and/or maximum size. E.g.
"50:100:200"
or "100px"
.this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.#setGridGapY(BoundSize)
ILC gridGap(java.lang.String gapx, java.lang.String gapy)
gridGapX(String)
and gridGapY(String)
.
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcomponents.com.
gapx
- The BoundSize
of the gap. This is a minimum and/or preferred and/or maximum size. E.g.
"50:100:200"
or "100px"
.gapy
- The BoundSize
of the gap. This is a minimum and/or preferred and/or maximum size. E.g.
"50:100:200"
or "100px"
.this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.gridGapX(String)
,
gridGapY(String)
ILC debug(int repaintMillis)
#setDebugMillis(int repaintMillis)
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.
repaintMillis
- The new debug repaint interval.this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.#setDebugMillis(int)
ILC hideMode(int mode)
#setHideMode(int mode)
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.
mode
- The mode:this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.#setHideMode(int)
ILC minWidth(java.lang.String width)
For a more thorough explanation of what this constraint does see the white paper or Cheat Sheet at www.migcontainers.com.
width
- The width expressed as a UnitValue
. E.g. "100px" or "200mm".this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.ILC width(java.lang.String width)
For a more thorough explanation of what this constraint does see the white paper or Cheat Sheet at www.migcontainers.com.
width
- The width 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()
.ILC maxWidth(java.lang.String width)
For a more thorough explanation of what this constraint does see the white paper or Cheat Sheet at www.migcontainers.com.
width
- The width expressed as a UnitValue
. E.g. "100px" or "200mm".this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.ILC minHeight(java.lang.String height)
For a more thorough explanation of what this constraint does see the white paper or Cheat Sheet at www.migcontainers.com.
height
- The height expressed as a UnitValue
. E.g. "100px" or "200mm".this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.ILC height(java.lang.String height)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcontainers.com.
height
- The height 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()
.ILC maxHeight(java.lang.String height)
For a more thorough explanation of what this constraint does see the white paper or cheat Sheet at www.migcontainers.com.
height
- The height expressed as a UnitValue
. E.g. "100px" or "200mm".this
so it is possible to chain calls. E.g. new LayoutConstraint().noGrid().gap().fill()
.Siehe auch Jowidgets Nutzerhandbuch