public interface Column extends ContentNode
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, setId
java.lang.String getStyle()
null
.
Possible values are:
null
"strong"
"emphasis"
"monospaced"
"header"
"literal"
"verse"
"asciidoc"
void setStyle(java.lang.String style)
style
- Values like asciidoc
, verse
, literal
or header
.getStyle()
Table getTable()
int getColumnNumber()
int getWidth()
void setWidth(int width)
Table.HorizontalAlignment getHorizontalAlignment()
void setHorizontalAlignment(Table.HorizontalAlignment halign)
halign
- Either Table.HorizontalAlignment.LEFT
, Table.HorizontalAlignment.CENTER
or Table.HorizontalAlignment.RIGHT
Table.VerticalAlignment getVerticalAlignment()
void setVerticalAlignment(Table.VerticalAlignment valign)
valign
- Either Table.VerticalAlignment.TOP
, Table.VerticalAlignment.MIDDLE
or Table.VerticalAlignment.BOTTOM