public class TTable extends Object implements TComponent
| Modifier and Type | Class and Description |
|---|---|
static class |
TTable.Align
alignment
|
class |
TTable.Border
border style
|
static class |
TTable.ColumnDefine
column definition
|
| Constructor and Description |
|---|
TTable(int columnNum) |
TTable(TTable.ColumnDefine[] columnDefineArray) |
| Modifier and Type | Method and Description |
|---|---|
TTable |
addRow(Object... columnDataArray)
Add a row
|
TTable.Border |
getBorder()
get border
|
int |
getColumnCount()
get column count
|
TTable |
padding(int padding)
set padding
|
String |
rendering()
render
|
static String |
wrap(String string,
int width) |
public TTable(TTable.ColumnDefine[] columnDefineArray)
public TTable(int columnNum)
public String rendering()
TComponentrendering in interface TComponentpublic TTable padding(int padding)
padding - paddingpublic int getColumnCount()
public TTable.Border getBorder()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.