public class TableImpl extends StructuralNodeImpl implements Table
Table.HorizontalAlignment, Table.VerticalAlignmentrubyNode, runtimeSUBSTITUTION_ATTRIBUTES, SUBSTITUTION_MACROS, SUBSTITUTION_POST_REPLACEMENTS, SUBSTITUTION_QUOTES, SUBSTITUTION_REPLACEMENTS, SUBSTITUTION_SPECIAL_CHARACTERS| Constructor and Description |
|---|
TableImpl(org.jruby.runtime.builtin.IRubyObject rubyObject) |
| 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.
|
addSubstitution, append, blocks, content, convert, findBy, getBlocks, getContent, getContentModel, getLevel, getSourceLocation, getStyle, getSubstitutions, getTitle, isSubstitutionEnabled, prependSubstitution, removeSubstitution, setStyle, setSubstitutions, setTitle, style, titleaddRole, context, document, getAttr, getAttr, getAttr, getAttribute, getAttribute, getAttribute, getAttributes, getContext, getDocument, getId, getNodeName, getParent, getReftext, getRole, getRoles, hasAttr, hasAttr, hasAttribute, hasAttribute, hasRole, iconUri, id, imageUri, imageUri, isAttr, isAttr, isAttribute, isAttribute, isBlock, isInline, isOption, isReftext, isRole, mediaUri, normalizeWebPath, parent, readAsset, removeRole, role, setAttr, setAttribute, setIdgetBoolean, getInt, getList, getProperty, getRubyObject, getRubyProperty, getRuntime, getString, getSymbol, setRubyProperty, setString, setSymbol, toJava, toJavaclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddSubstitution, append, blocks, content, convert, findBy, getBlocks, getContent, getContentModel, getLevel, getSourceLocation, getStyle, getSubstitutions, getTitle, isSubstitutionEnabled, prependSubstitution, removeSubstitution, setStyle, setSubstitutions, setTitle, style, titleaddRole, context, document, getAttr, getAttr, getAttr, getAttribute, getAttribute, getAttribute, getAttributes, getContext, getDocument, getId, getNodeName, getParent, getReftext, getRole, getRoles, hasAttr, hasAttr, hasAttribute, hasAttribute, hasRole, iconUri, id, imageUri, imageUri, isAttr, isAttr, isAttribute, isAttribute, isBlock, isInline, isOption, isReftext, isRole, mediaUri, normalizeWebPath, parent, readAsset, removeRole, role, setAttr, setAttribute, setIdpublic 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