public class ColumnImpl extends ContentNodeImpl implements Column
rubyNode, runtime| Constructor and Description |
|---|
ColumnImpl(org.jruby.runtime.builtin.IRubyObject rubyNode) |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnNumber() |
Table.HorizontalAlignment |
getHorizontalAlignment()
Returns the horizonzal alignment of all cells in this column.
|
java.lang.String |
getStyle()
Returns the style of this column.
|
Table |
getTable() |
Table.VerticalAlignment |
getVerticalAlignment()
Returns the vertical alignment of all cells in this column.
|
int |
getWidth() |
void |
setHorizontalAlignment(Table.HorizontalAlignment halign)
Sets the horizontal alignment of all cells of this column.
|
void |
setStyle(java.lang.String style)
Sets the style of this column.
|
void |
setVerticalAlignment(Table.VerticalAlignment valign)
Sets the vertical alignment of all cells of this column.
|
void |
setWidth(int width) |
addRole, 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, waitaddRole, 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 java.lang.String getStyle()
Columnnull.
Possible values are:
null"strong""emphasis""monospaced""header""literal""verse""asciidoc"public void setStyle(java.lang.String style)
ColumnsetStyle in interface Columnstyle - Values like asciidoc, verse, literalor header.Column.getStyle()public int getColumnNumber()
getColumnNumber in interface Columnpublic Table.HorizontalAlignment getHorizontalAlignment()
ColumngetHorizontalAlignment in interface Columnpublic void setHorizontalAlignment(Table.HorizontalAlignment halign)
ColumnsetHorizontalAlignment in interface Columnhalign - Either Table.HorizontalAlignment.LEFT, Table.HorizontalAlignment.CENTER or Table.HorizontalAlignment.RIGHTpublic Table.VerticalAlignment getVerticalAlignment()
ColumngetVerticalAlignment in interface Columnpublic void setVerticalAlignment(Table.VerticalAlignment valign)
ColumnsetVerticalAlignment in interface Columnvalign - Either Table.VerticalAlignment.TOP, Table.VerticalAlignment.MIDDLE or Table.VerticalAlignment.BOTTOM