Modifier and Type | Method and Description |
---|---|
LC |
LC.align(String ax,
String ay)
Sets both the alignX and alignY as the same time.
|
LC |
LC.alignX(String align)
Same functionality as
setAlignX(ConstraintParser.parseUnitValueOrAlign(unitValue, true)) only this method returns this
for chaining multiple calls. |
LC |
LC.alignY(String align)
Same functionality as
setAlignY(ConstraintParser.parseUnitValueOrAlign(align, false)) only this method returns this for chaining multiple calls. |
LC |
LC.bottomToTop()
Same functionality as calling
setTopToBottom(boolean) with false only this method returns this for chaining multiple calls. |
LC |
LC.debug()
Calls
debug(int) with 300 as an argument. |
LC |
LC.debug(int repaintMillis)
Same functionality as
setDebugMillis(int repaintMillis) only this method returns this for chaining multiple calls. |
LC |
LC.fill()
Same functionality as calling
setFillX(boolean) with true and setFillY(boolean) with true conmbined.T his method returns
this for chaining multiple calls. |
LC |
LC.fillX()
Same functionality as calling
setFillX(boolean) with true only this method returns this for chaining multiple calls. |
LC |
LC.fillY()
Same functionality as calling
setFillY(boolean) with true only this method returns this for chaining multiple calls. |
LC |
LC.flowX()
Same functionality as calling
setFlowX(boolean) with true only this method returns this for chaining multiple calls. |
LC |
LC.flowY()
Same functionality as calling
setFlowX(boolean) with false only this method returns this for chaining multiple calls. |
LC |
LC.gridGap(String gapx,
String gapy)
Sets both grid gaps at the same time.
|
LC |
LC.gridGapX(String boundsSize)
Same functionality as
setGridGapX(ConstraintParser.parseBoundSize(boundsSize, true, true)) only this method
returns this for chaining multiple calls. |
LC |
LC.gridGapY(String boundsSize)
Same functionality as
setGridGapY(ConstraintParser.parseBoundSize(boundsSize, true, false)) only this method
returns this for chaining multiple calls. |
LC |
LC.height(String height)
The height for the container as a min and/or preferred and/or maximum height.
|
LC |
LC.hideMode(int mode)
Same functionality as
setHideMode(int mode) only this method returns this for chaining multiple calls. |
LC |
LC.insets(String s)
Same functionality as
setInsets(ConstraintParser.parseInsets(s, true)) . |
LC |
LC.insets(String top,
String left,
String bottom,
String right)
Sets the different insets (expressed as a
UnitValue s, e.g. |
LC |
LC.insetsAll(String allSides)
Sets the same inset (expressed as a
UnitValue , e.g. |
LC |
LC.leftToRight(boolean b)
Same functionality as
setLeftToRight(Boolean) only this method returns this for chaining multiple calls. |
LC |
LC.maxHeight(String height)
The maximum height for the container.
|
LC |
LC.maxWidth(String width)
The maximum width for the container.
|
LC |
LC.minHeight(String height)
The minimum height for the container.
|
LC |
LC.minWidth(String width)
The minimum width for the container.
|
LC |
LC.noCache()
Same functionality as calling
setNoCache(boolean) with true only this method returns this for chaining multiple calls. |
LC |
LC.noGrid()
Same functionality as calling
setNoGrid(boolean) with true only this method returns this for chaining multiple calls. |
LC |
LC.noVisualPadding()
Same functionality as calling
setVisualPadding(boolean) with false only this method returns this for chaining multiple calls. |
LC |
LC.pack()
Short for, and thus same as,
.pack("pref", "pref") . |
LC |
LC.pack(String width,
String height)
Sets the pack width and height.
|
LC |
LC.packAlign(float alignX,
float alignY)
Sets the pack width and height alignment.
|
static LC |
ConstraintParser.parseLayoutConstraint(String s)
Parses the layout constraints and stores the parsed values in the transient (cache) member variables.
|
LC |
LC.rightToLeft()
Same functionality as setLeftToRight(false) only this method returns
this for chaining multiple calls. |
LC |
LC.topToBottom()
Same functionality as calling
setTopToBottom(boolean) with true only this method returns this for chaining multiple calls. |
LC |
LC.width(String width)
The width for the container as a min and/or preferred and/or maximum width.
|
LC |
LC.wrap()
Sets a wrap after the number of columns/rows that is defined in the
AC . |
LC |
LC.wrapAfter(int count)
Same functionality as
setWrapAfter(int) only this method returns this for chaining multiple calls. |
Modifier and Type | Method and Description |
---|---|
static boolean |
LayoutUtil.isLeftToRight(LC lc,
ContainerWrapper container)
Returns if left-to-right orientation is used.
|
Constructor and Description |
---|
Grid(ContainerWrapper container,
LC lc,
AC rowConstr,
AC colConstr,
Map<? extends ComponentWrapper,CC> ccMap,
ArrayList<LayoutCallback> callbackList)
Constructor.
|
Copyright © 2007–2021. All rights reserved.