Package org.asciidoctor.jruby.ast.impl
Class ColumnImpl
java.lang.Object
org.asciidoctor.jruby.internal.RubyObjectWrapper
org.asciidoctor.jruby.ast.impl.ContentNodeImpl
org.asciidoctor.jruby.ast.impl.ColumnImpl
- All Implemented Interfaces:
Column,ContentNode
-
Field Summary
Fields inherited from class org.asciidoctor.jruby.internal.RubyObjectWrapper
rubyNode, runtime -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the horizonzal alignment of all cells in this column.getStyle()Returns the style of this column.getTable()Returns the vertical alignment of all cells in this column.intgetWidth()voidSets the horizontal alignment of all cells of this column.voidSets the style of this column.voidSets the vertical alignment of all cells of this column.voidsetWidth(int width) Methods inherited from class org.asciidoctor.jruby.ast.impl.ContentNodeImpl
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, setIdMethods inherited from class org.asciidoctor.jruby.internal.RubyObjectWrapper
getBoolean, getInt, getList, getProperty, getRubyObject, getRubyProperty, getRuntime, getString, getSymbol, setBoolean, setInt, setRubyProperty, setString, setSymbol, toJava, toJavaMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.asciidoctor.ast.ContentNode
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
-
Constructor Details
-
ColumnImpl
public ColumnImpl(org.jruby.runtime.builtin.IRubyObject rubyNode)
-
-
Method Details
-
getStyle
Description copied from interface:ColumnReturns the style of this column. The default isnull. Possible values are:null"strong""emphasis""monospaced""header""literal""verse""asciidoc"
-
setStyle
Description copied from interface:ColumnSets the style of this column. -
getTable
-
getColumnNumber
public int getColumnNumber()- Specified by:
getColumnNumberin interfaceColumn
-
getWidth
public int getWidth() -
setWidth
public void setWidth(int width) -
getHorizontalAlignment
Description copied from interface:ColumnReturns the horizonzal alignment of all cells in this column.- Specified by:
getHorizontalAlignmentin interfaceColumn- Returns:
- a constant representing the horizontal alignment.
-
setHorizontalAlignment
Description copied from interface:ColumnSets the horizontal alignment of all cells of this column.- Specified by:
setHorizontalAlignmentin interfaceColumn- Parameters:
halign- EitherTable.HorizontalAlignment.LEFT,Table.HorizontalAlignment.CENTERorTable.HorizontalAlignment.RIGHT
-
getVerticalAlignment
Description copied from interface:ColumnReturns the vertical alignment of all cells in this column.- Specified by:
getVerticalAlignmentin interfaceColumn- Returns:
- a constant representing the vertical alignment.
-
setVerticalAlignment
Description copied from interface:ColumnSets the vertical alignment of all cells of this column.- Specified by:
setVerticalAlignmentin interfaceColumn- Parameters:
valign- EitherTable.VerticalAlignment.TOP,Table.VerticalAlignment.MIDDLEorTable.VerticalAlignment.BOTTOM
-