public class TableElement extends Element
| Modifier and Type | Field and Description |
|---|---|
protected BorderStyle |
border
.
|
protected Layout |
columnLayout
The column layout.
|
protected Layout |
rowLayout
The optional row row layout.
|
protected BorderStyle |
separator
.
|
| Constructor and Description |
|---|
TableElement() |
TableElement(int... columns) |
TableElement(int[] rows,
int[] columns) |
protected BorderStyle border
protected BorderStyle separator
protected Layout columnLayout
protected Layout rowLayout
public TableElement()
public TableElement(int... columns)
public TableElement(int[] rows,
int[] columns)
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.