public class CellImpl extends AbstractNodeImpl implements Cell
abstractNode, runtime| Constructor and Description |
|---|
CellImpl(Cell delegate,
org.jruby.Ruby rubyRuntime) |
| Modifier and Type | Method and Description |
|---|---|
int |
getColspan() |
Column |
getColumn() |
java.lang.Object |
getContent() |
Table.HorizontalAlignment |
getHorizontalAlignment()
Returns the horizonzal alignment of this cell.
|
DocumentRuby |
getInnerDocument()
If the style of a cell is
asciidoc the content of the cell is an inner document. |
int |
getRowspan() |
java.lang.String |
getStyle()
Returns the style of this cell.
|
java.lang.String |
getText() |
Table.VerticalAlignment |
getVerticalAlignment()
Returns the vertical alignment of this cell.
|
void |
setHorizontalAlignment(Table.HorizontalAlignment halign)
Sets the horizontal alignment of this cell.
|
void |
setStyle(java.lang.String style)
Sets the style of this cell.
|
void |
setVerticalAlignment(Table.VerticalAlignment valign)
Sets the vertical alignment of this cell.
|
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, setAttrclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontext, 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 CellImpl(Cell delegate, org.jruby.Ruby rubyRuntime)
public int getColspan()
getColspan in interface Cellpublic int getRowspan()
getRowspan in interface Cellpublic java.lang.Object getContent()
getContent in interface Cellpublic java.lang.String getStyle()
Cellnull.
Possible values are:
null"strong""emphasis""monospaced""header""literal""verse""asciidoc"getStyle in interface AbstractNodegetStyle in interface CellgetStyle in class AbstractNodeImplpublic void setStyle(java.lang.String style)
CellsetStyle in interface Cellstyle - Values like asciidoc, verse, literalor header.Cell.getStyle()public Table.HorizontalAlignment getHorizontalAlignment()
CellgetHorizontalAlignment in interface Cellpublic void setHorizontalAlignment(Table.HorizontalAlignment halign)
CellsetHorizontalAlignment in interface Cellhalign - Either Table.HorizontalAlignment.LEFT, Table.HorizontalAlignment.CENTER or Table.HorizontalAlignment.RIGHTpublic Table.VerticalAlignment getVerticalAlignment()
CellgetVerticalAlignment in interface Cellpublic void setVerticalAlignment(Table.VerticalAlignment valign)
CellsetVerticalAlignment in interface Cellvalign - Either Table.VerticalAlignment.TOP, Table.VerticalAlignment.MIDDLE or Table.VerticalAlignment.BOTTOMpublic DocumentRuby getInnerDocument()
Cellasciidoc the content of the cell is an inner document.
This method returns this inner document.getInnerDocument in interface Cellasciidoc