public static class VerticalLayoutHint.VerticalLayoutHintBuilder extends Object
VerticalLayoutHint using a fluent API.| Modifier and Type | Field and Description |
|---|---|
protected Alignment |
alignment |
protected float |
marginBottom |
protected float |
marginLeft |
protected float |
marginRight |
protected float |
marginTop |
protected boolean |
resetY |
| Constructor and Description |
|---|
VerticalLayoutHintBuilder() |
| Modifier and Type | Method and Description |
|---|---|
VerticalLayoutHint.VerticalLayoutHintBuilder |
alignment(Alignment alignment) |
VerticalLayoutHint |
build() |
VerticalLayoutHint.VerticalLayoutHintBuilder |
marginBottom(float marginBottom) |
VerticalLayoutHint.VerticalLayoutHintBuilder |
marginLeft(float marginLeft) |
VerticalLayoutHint.VerticalLayoutHintBuilder |
marginRight(float marginRight) |
VerticalLayoutHint.VerticalLayoutHintBuilder |
margins(float marginLeft,
float marginRight,
float marginTop,
float marginBottom) |
VerticalLayoutHint.VerticalLayoutHintBuilder |
marginTop(float marginTop) |
VerticalLayoutHint.VerticalLayoutHintBuilder |
resetY(boolean resetY) |
protected Alignment alignment
protected float marginLeft
protected float marginRight
protected float marginTop
protected float marginBottom
protected boolean resetY
public VerticalLayoutHint.VerticalLayoutHintBuilder alignment(Alignment alignment)
public VerticalLayoutHint.VerticalLayoutHintBuilder marginLeft(float marginLeft)
public VerticalLayoutHint.VerticalLayoutHintBuilder marginRight(float marginRight)
public VerticalLayoutHint.VerticalLayoutHintBuilder marginTop(float marginTop)
public VerticalLayoutHint.VerticalLayoutHintBuilder marginBottom(float marginBottom)
public VerticalLayoutHint.VerticalLayoutHintBuilder margins(float marginLeft, float marginRight, float marginTop, float marginBottom)
public VerticalLayoutHint.VerticalLayoutHintBuilder resetY(boolean resetY)
public VerticalLayoutHint build()
Copyright © 2021. All rights reserved.