public class TableUtil
extends java.lang.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,
JRReport report) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<BaseColumn> |
getAllColumns(java.util.List<BaseColumn> cols) |
static java.util.List<BaseColumn> |
getAllColumns(TableComponent table) |
java.awt.Rectangle |
getBounds(int width,
Cell cell,
BaseColumn col) |
static Cell |
getCell(BaseColumn bc,
int type,
java.lang.String grName) |
java.util.Map<Cell,java.awt.Rectangle> |
getCellBounds() |
static JRTextField |
getCellDetailTextElement(Cell cell,
boolean oneElementPerCell)
Deprecated.
Replaced by
getCellElement(Class, Cell, boolean) . |
static <T extends JRElement> |
getCellElement(java.lang.Class<T> type,
BaseColumn column,
int sectionType,
java.lang.String groupName,
TableComponent table) |
static <T extends JRElement> |
getCellElement(java.lang.Class<T> type,
Cell cell,
boolean oneElementPerCell) |
static JRDesignTextElement |
getCellTextElement(Cell cell,
boolean oneElementPerCell)
Deprecated.
Replaced by
getCellElement(Class, Cell, boolean) . |
static JRTextField |
getColumnDetailTextElement(Column column)
Deprecated.
Replaced by
getCellElement(Class, Cell, boolean) . |
static ColumnGroup |
getColumnGroupForColumn(BaseColumn column,
java.util.List<BaseColumn> columns) |
static JRDesignTextElement |
getColumnHeaderTextElement(StandardColumn column)
Deprecated.
Replaced by
getCellElement(Class, Cell, boolean) . |
static int |
getColumnIndex(Column column,
TableComponent table) |
java.util.List<?> |
getGroupList() |
static java.util.List<?> |
getGroupList(TableComponent table,
JRReport report) |
static java.util.List<ColumnGroup> |
getHierarchicalColumnGroupsForColumn(BaseColumn column,
java.util.List<BaseColumn> columns,
TableComponent table) |
static boolean |
hasSingleChunkExpression(JRTextField textField) |
void |
init(TableComponent table) |
static boolean |
isFilterable(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, JRReport report)
public java.util.Map<Cell,java.awt.Rectangle> getCellBounds()
public void refresh()
public void init(TableComponent table)
public static java.util.List<BaseColumn> getAllColumns(TableComponent table)
public static java.util.List<BaseColumn> getAllColumns(java.util.List<BaseColumn> cols)
public java.awt.Rectangle getBounds(int width, Cell cell, BaseColumn col)
public java.util.List<?> getGroupList()
public static java.util.List<?> getGroupList(TableComponent table, JRReport report)
public static Cell getCell(BaseColumn bc, int type, java.lang.String grName)
public static ColumnGroup getColumnGroupForColumn(BaseColumn column, java.util.List<BaseColumn> columns)
public static JRDesignTextElement getColumnHeaderTextElement(StandardColumn column)
getCellElement(Class, Cell, boolean)
.public static JRDesignTextElement getCellTextElement(Cell cell, boolean oneElementPerCell)
getCellElement(Class, Cell, boolean)
.public static JRTextField getColumnDetailTextElement(Column column)
getCellElement(Class, Cell, boolean)
.public static JRTextField getCellDetailTextElement(Cell cell, boolean oneElementPerCell)
getCellElement(Class, Cell, boolean)
.public static <T extends JRElement> T getCellElement(java.lang.Class<T> type, Cell cell, boolean oneElementPerCell)
public static boolean isFilterable(JRTextField textField)
public static boolean hasSingleChunkExpression(JRTextField textField)
public static int getColumnIndex(Column column, TableComponent table)
public static java.util.List<ColumnGroup> getHierarchicalColumnGroupsForColumn(BaseColumn column, java.util.List<BaseColumn> columns, TableComponent table)
public static <T extends JRElement> T getCellElement(java.lang.Class<T> type, BaseColumn column, int sectionType, java.lang.String groupName, TableComponent table)
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com