Class TableUtil
java.lang.Object
net.sf.jasperreports.components.table.util.TableUtil
- Author:
- Veaceslav Chicu (schicu@users.sourceforge.net)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<BaseColumn> getAllColumns(List<BaseColumn> cols) static List<BaseColumn> getAllColumns(TableComponent table) getBounds(int width, Cell cell, BaseColumn col) static CellgetCell(BaseColumn bc, int type, String grName) static <T extends JRElement>
TgetCellElement(Class<T> type, BaseColumn column, int sectionType, String groupName, TableComponent table) static <T extends JRElement>
TgetCellElement(Class<T> type, Cell cell, boolean oneElementPerCell) static ColumnGroupgetColumnGroupForColumn(BaseColumn column, List<BaseColumn> columns) static intgetColumnIndex(Column column, TableComponent table) List<?> static List<?> getGroupList(TableComponent table, JRReport report) static List<ColumnGroup> getHierarchicalColumnGroupsForColumn(BaseColumn column, List<BaseColumn> columns, TableComponent table) static booleanhasSingleChunkExpression(JRTextField textField) voidinit(TableComponent table) static booleanisFilterable(JRTextField textField) voidrefresh()
-
Field Details
-
TABLE_HEADER
public static final int TABLE_HEADER- See Also:
-
TABLE_FOOTER
public static final int TABLE_FOOTER- See Also:
-
COLUMN_HEADER
public static final int COLUMN_HEADER- See Also:
-
COLUMN_FOOTER
public static final int COLUMN_FOOTER- See Also:
-
COLUMN_DETAIL
public static final int COLUMN_DETAIL- See Also:
-
COLUMN_GROUP_HEADER
public static final int COLUMN_GROUP_HEADER- See Also:
-
COLUMN_GROUP_FOOTER
public static final int COLUMN_GROUP_FOOTER- See Also:
-
-
Constructor Details
-
TableUtil
-
-
Method Details
-
getCellBounds
-
refresh
public void refresh() -
init
-
getAllColumns
-
getAllColumns
-
getBounds
-
getGroupList
-
getGroupList
-
getCell
-
getColumnGroupForColumn
-
getCellElement
-
isFilterable
-
hasSingleChunkExpression
-
getColumnIndex
-
getHierarchicalColumnGroupsForColumn
public static List<ColumnGroup> getHierarchicalColumnGroupsForColumn(BaseColumn column, List<BaseColumn> columns, TableComponent table) -
getCellElement
public static <T extends JRElement> T getCellElement(Class<T> type, BaseColumn column, int sectionType, String groupName, TableComponent table)
-