public class TableElement extends Element
Modifier and Type | Field and Description |
---|---|
protected BorderStyle |
border
.
|
protected Layout |
columnLayout
The column layout.
|
private int |
leftCellPadding
Cell padding left.
|
private Overflow |
overflow
.
|
private int |
rightCellPadding
Cell padding right.
|
protected Layout |
rowLayout
The optional row row layout.
|
(package private) ArrayList<RowElement> |
rows
.
|
protected BorderStyle |
separator
.
|
Modifier | Constructor and Description |
---|---|
|
TableElement() |
|
TableElement(int... columns) |
|
TableElement(int[] rows,
int[] columns) |
private |
TableElement(Layout rowLayout,
Layout columnLayout) |
ArrayList<RowElement> rows
protected BorderStyle border
protected BorderStyle separator
protected Layout columnLayout
private int leftCellPadding
private int rightCellPadding
public TableElement()
public TableElement(int... columns)
public TableElement(int[] rows, int[] columns)
private TableElement(Layout rowLayout, Layout columnLayout)
public TableElement add(RowElement row)
public TableElement add(RowElement... rows)
public TableElement header(Element... cols)
public TableElement row(Element... cols)
public TableElement row(String... cols)
public TableElement row(boolean header, Element... cols)
public TableElement row(boolean header, String... cols)
public Layout getColumnLayout()
public void setColumnLayout(Layout columnLayout)
public Layout getRowLayout()
public void setRowLayout(Layout rowLayout)
public LineRenderer renderer()
public TableElement withColumnLayout(Layout columnLayout)
public TableElement withRowLayout(Layout rowLayout)
public List<RowElement> getRows()
public BorderStyle getBorder()
public void setBorder(BorderStyle border)
public TableElement border(BorderStyle border)
public BorderStyle getSeparator()
public void setSeparator(BorderStyle separator)
public TableElement collapse()
public TableElement separator(BorderStyle separator)
public void setOverflow(Overflow overflow)
public final Overflow getOverflow()
public TableElement overflow(Overflow overflow)
public int getLeftCellPadding()
public void setLeftCellPadding(int leftCellPadding)
public TableElement leftCellPadding(int leftCellPadding)
public int getRightCellPadding()
public void setRightCellPadding(int rightCellPadding)
public TableElement rightCellPadding(int rightCellPadding)
public TableElement style(Style.Composite style)
Copyright © 2015 eXo Platform SAS. All Rights Reserved.