public abstract class LayoutWrapper<T extends Layout> extends Object
Modifier | Constructor and Description |
---|---|
protected |
LayoutWrapper(T wrapped) |
Modifier and Type | Method and Description |
---|---|
T |
getRaw() |
abstract LayoutWrapper<T> |
margin(int margin)
Sets all margins to the given value.
|
void |
setMarginAndSpacingToDefault()
Sets the margin and spacing to
Layouts.defaultMargin() . |
abstract LayoutWrapper<T> |
spacing(int spacing)
Sets all spacing to the given value.
|
protected LayoutWrapper(T wrapped)
public T getRaw()
public abstract LayoutWrapper<T> margin(int margin)
public abstract LayoutWrapper<T> spacing(int spacing)
public void setMarginAndSpacingToDefault()
Layouts.defaultMargin()
.