public class TableImpl extends AbstractBlockImpl implements Table
| Modifier and Type | Class and Description |
|---|---|
static interface |
TableImpl.Rows |
static class |
TableImpl.RowsImpl |
Table.HorizontalAlignment, Table.VerticalAlignmentabstractNode, runtime| Constructor and Description |
|---|
TableImpl(Table delegate,
org.jruby.Ruby rubyRuntime) |
| 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, getNodeName, getStyle, getTitle, style, titlecontext, document, getAttr, getAttr, getAttr, getAttributes, getContext, getDocument, getParent, getReftext, getRole, getRoles, hasRole, iconUri, id, imageUri, imageUri, isAttr, isAttr, isBlock, isInline, isOption, isReftext, isRole, listMarkerKeyword, listMarkerKeyword, mediaUri, normalizeWebPath, parent, readAsset, role, setAttrclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitblocks, content, convert, delegate, findBy, getBlocks, getContent, getLevel, getStyle, getTitle, style, titlecontext, 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, setAttrpublic TableImpl(Table delegate, org.jruby.Ruby rubyRuntime)
public boolean hasHeaderOption()
hasHeaderOption in interface Tablepublic java.lang.String getFrame()
Tableall 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.public void setFrame(java.lang.String frame)
TablesetFrame in interface Tableframe - all, topbot, sides or noneTable.getFrame()public java.lang.String getGrid()
Tableall 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 linespublic void setGrid(java.lang.String grid)
TablesetGrid in interface Tablegrid - usually either all, cols, rows or noneTable.getGrid()public java.util.List<Column> getColumns()
getColumns in interface Table