| Constructor and Description |
|---|
ContentRow(Object[] columns,
int padding)
Returns a new content table row
|
| Modifier and Type | Method and Description |
|---|---|
char[] |
getAlignment()
Returns the set alignment for columns.
|
Object[] |
getColumns()
Returns the columns of the row.
|
int[] |
getPadding()
Returns the set padding for columns.
|
boolean |
setAlignment(char[] alignment)
Sets the alignment of text per column for the row.
|
boolean |
setPadding(int[] padding)
Sets the left and right padding per column for the row.
|
String |
toString() |
String |
toString(int indent)
Returns a string with debug information.
|
public ContentRow(Object[] columns, int padding) throws TableException
columns - content in form of columnspadding - the default padding as number of padding characters left and rightTableException - if columns are blankpublic boolean setAlignment(char[] alignment)
alignment - new alignment of columnspublic boolean setPadding(int[] padding)
padding - new alignment arraypublic char[] getAlignment()
public int[] getPadding()
public Object[] getColumns()
public String toString(int indent)
V2_RowCopyright © 2010–2015. All rights reserved.