public class ColumnLayoutHint extends VerticalLayoutHint
VerticalLayoutHint. See there for more details.| Modifier and Type | Class and Description |
|---|---|
static class |
ColumnLayoutHint.ColumnLayoutHintBuilder
A builder for creating a
VerticalLayoutHint using a fluent API. |
VerticalLayoutHint.VerticalLayoutHintBuilder| Modifier and Type | Field and Description |
|---|---|
static ColumnLayoutHint |
CENTER |
static ColumnLayoutHint |
LEFT |
static ColumnLayoutHint |
RIGHT |
| Constructor and Description |
|---|
ColumnLayoutHint()
Creates a layout hint with
left alignment. |
ColumnLayoutHint(Alignment alignment)
Creates a layout hint with the given alignment.
|
ColumnLayoutHint(Alignment alignment,
float marginLeft,
float marginRight,
float marginTop,
float marginBottom)
Creates a layout hint with the given alignment and margins.
|
ColumnLayoutHint(Alignment alignment,
float marginLeft,
float marginRight,
float marginTop,
float marginBottom,
boolean resetY)
Creates a layout hint with the given alignment and margins.
|
| Modifier and Type | Method and Description |
|---|---|
static ColumnLayoutHint.ColumnLayoutHintBuilder |
builder() |
getAlignment, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, isResetY, toStringpublic static final ColumnLayoutHint LEFT
public static final ColumnLayoutHint CENTER
public static final ColumnLayoutHint RIGHT
public ColumnLayoutHint()
left alignment.public ColumnLayoutHint(Alignment alignment)
alignment - the element alignment.public ColumnLayoutHint(Alignment alignment, float marginLeft, float marginRight, float marginTop, float marginBottom)
alignment - the element alignment.marginLeft - the left alignment.marginRight - the right alignment.marginTop - the top alignment.marginBottom - the bottom alignment.public ColumnLayoutHint(Alignment alignment, float marginLeft, float marginRight, float marginTop, float marginBottom, boolean resetY)
alignment - the element alignment.marginLeft - the left alignment.marginRight - the right alignment.marginTop - the top alignment.marginBottom - the bottom alignment.resetY - if true, the y coordinate will be reset to the
point before layouting the element.public static ColumnLayoutHint.ColumnLayoutHintBuilder builder()
VerticalLayoutHint.VerticalLayoutHintBuilder for creating a
VerticalLayoutHint using a fluent API.Copyright © 2022. All rights reserved.