public class TableUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
COLUMN_DETAIL |
static int |
COLUMN_FOOTER |
static int |
COLUMN_GROUP_FOOTER |
static int |
COLUMN_GROUP_HEADER |
static int |
COLUMN_HEADER |
static int |
TABLE_FOOTER |
static int |
TABLE_HEADER |
| Constructor and Description |
|---|
TableUtil(TableComponent table,
JasperDesign jasperDesign) |
| Modifier and Type | Method and Description |
|---|---|
static List<BaseColumn> |
getAllColumns(List<BaseColumn> cols) |
static List<BaseColumn> |
getAllColumns(TableComponent table) |
Rectangle |
getBounds(int width,
Cell cell,
BaseColumn col) |
static Cell |
getCell(BaseColumn bc,
int type,
String grName) |
Map<Cell,Rectangle> |
getCellBounds() |
static JRTextField |
getColumnDetailTextElement(Column column) |
static ColumnGroup |
getColumnGroupForColumn(BaseColumn column,
List<BaseColumn> columns) |
static JRDesignTextElement |
getColumnHeaderTextElement(StandardColumn column) |
static int |
getColumnIndex(Column column,
TableComponent table) |
List<?> |
getGroupList() |
static List<?> |
getGroupList(TableComponent table,
JasperDesign jd) |
void |
init(TableComponent table) |
static boolean |
isSortableAndFilterable(JRTextField textField) |
void |
refresh() |
public static final int TABLE_HEADER
public static final int TABLE_FOOTER
public static final int COLUMN_HEADER
public static final int COLUMN_FOOTER
public static final int COLUMN_DETAIL
public static final int COLUMN_GROUP_HEADER
public static final int COLUMN_GROUP_FOOTER
public TableUtil(TableComponent table, JasperDesign jasperDesign)
public void refresh()
public void init(TableComponent table)
public static List<BaseColumn> getAllColumns(TableComponent table)
public static List<BaseColumn> getAllColumns(List<BaseColumn> cols)
public Rectangle getBounds(int width, Cell cell, BaseColumn col)
public List<?> getGroupList()
public static List<?> getGroupList(TableComponent table, JasperDesign jd)
public static Cell getCell(BaseColumn bc, int type, String grName)
public static ColumnGroup getColumnGroupForColumn(BaseColumn column, List<BaseColumn> columns)
public static JRDesignTextElement getColumnHeaderTextElement(StandardColumn column)
public static JRTextField getColumnDetailTextElement(Column column)
public static boolean isSortableAndFilterable(JRTextField textField)
public static int getColumnIndex(Column column, TableComponent table)
Copyright © 2012. All Rights Reserved.