public class LayoutsGridLayout extends LayoutWrapper<GridLayout>
GridLayout
, created by Layouts
.
Inspired by Moritz Post's blog post..wrapped
Modifier and Type | Method and Description |
---|---|
LayoutsGridLayout |
columnsEqualWidth(boolean columnsEqualWidth) |
LayoutsGridLayout |
horizontalSpacing(int horizontalSpacing) |
LayoutsGridLayout |
margin(int margin)
Sets marginWidth and marginHeight to the given value, and left/right/top/bottom to 0.
|
LayoutsGridLayout |
marginBottom(int marginBottom) |
LayoutsGridLayout |
marginHeight(int marginHeight) |
LayoutsGridLayout |
marginLeft(int marginLeft) |
LayoutsGridLayout |
marginLeftRight(int left,
int right)
Sets marginWidth to 0, and left / right to the given values.
|
LayoutsGridLayout |
marginRight(int marginRight) |
LayoutsGridLayout |
marginTop(int marginTop) |
LayoutsGridLayout |
marginTopBottom(int top,
int bottom)
Sets marginHeight to 0, and top / bottom to the given values.
|
LayoutsGridLayout |
marginWidth(int marginWidth) |
LayoutsGridLayout |
numColumns(int numColumns) |
LayoutsGridLayout |
spacing(int spacing)
Sets all margins to the given value.
|
LayoutsGridLayout |
verticalSpacing(int verticalSpacing) |
getRaw, setMarginAndSpacingToDefault
public LayoutsGridLayout margin(int margin)
margin
in class LayoutWrapper<GridLayout>
public LayoutsGridLayout marginTopBottom(int top, int bottom)
public LayoutsGridLayout marginLeftRight(int left, int right)
public LayoutsGridLayout spacing(int spacing)
spacing
in class LayoutWrapper<GridLayout>
public LayoutsGridLayout numColumns(int numColumns)
public LayoutsGridLayout columnsEqualWidth(boolean columnsEqualWidth)
public LayoutsGridLayout marginWidth(int marginWidth)
public LayoutsGridLayout marginHeight(int marginHeight)
public LayoutsGridLayout marginLeft(int marginLeft)
public LayoutsGridLayout marginTop(int marginTop)
public LayoutsGridLayout marginRight(int marginRight)
public LayoutsGridLayout marginBottom(int marginBottom)
public LayoutsGridLayout horizontalSpacing(int horizontalSpacing)
public LayoutsGridLayout verticalSpacing(int verticalSpacing)