public interface Table extends AbstractBlock
Modifier and Type | Interface and Description |
---|---|
static class |
Table.HorizontalAlignment |
static class |
Table.VerticalAlignment |
Modifier and Type | Method and Description |
---|---|
java.util.List<Row> |
getBody() |
java.util.List<Column> |
getColumns() |
java.util.List<Row> |
getFooter() |
java.lang.String |
getFrame()
Returns the frame attribute of the table that defines what frame to render around the table.
|
java.lang.String |
getGrid()
Returns the grid attribute that defines what boundary lines to draw between rows and columns.
|
java.util.List<Row> |
getHeader() |
boolean |
hasHeaderOption() |
void |
setFrame(java.lang.String frame)
Sets the frame attribute.
|
void |
setGrid(java.lang.String grid)
Sets the value of the attribute.
|
blocks, content, convert, delegate, findBy, getBlocks, getContent, getLevel, getStyle, getTitle, style, title
context, document, getAttr, getAttr, getAttr, getAttributes, getContext, getDocument, getNodeName, getParent, getReftext, getRole, getRoles, hasRole, iconUri, id, imageUri, imageUri, isAttr, isAttr, isBlock, isInline, isOption, isReftext, isRole, listMarkerKeyword, listMarkerKeyword, mediaUri, normalizeWebPath, parent, readAsset, role, setAttr
boolean hasHeaderOption()
java.util.List<Column> getColumns()
java.util.List<Row> getHeader()
java.util.List<Row> getFooter()
java.util.List<Row> getBody()
java.lang.String getFrame()
all
value, which draws a border on each side of the table.
If you set the frame attribute, you can override the default value with topbot
, sides
or none
.void setFrame(java.lang.String frame)
frame
- all
, topbot
, sides
or none
getFrame()
java.lang.String getGrid()
all
value, which draws lines around each cell.
Alternative values are cols
to draw lines between columns, rows
to draw boundary lines
between rows and none
to draw no boundary linesgrid
attribute, usually either all
, cols
, rows
or none
void setGrid(java.lang.String grid)
grid
- usually either all
, cols
, rows
or none
getGrid()