net.sf.jasperreports.components.table.util
Class TableUtil

java.lang.Object
  extended by net.sf.jasperreports.components.table.util.TableUtil

public class TableUtil
extends java.lang.Object

Version:
$Id: Column.java 3586 2010-03-12 18:17:13Z lucianc $
Author:
Veaceslav Chicu (schicu@users.sourceforge.net)

Field Summary
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 Summary
TableUtil(TableComponent table, JasperDesign jasperDesign)
           
 
Method Summary
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()
           
 java.util.List<?> getGroupList()
           
static java.util.List<?> getGroupList(TableComponent table, JasperDesign jd)
           
 void init(TableComponent table)
           
 void refresh()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE_HEADER

public static final int TABLE_HEADER
See Also:
Constant Field Values

TABLE_FOOTER

public static final int TABLE_FOOTER
See Also:
Constant Field Values

COLUMN_HEADER

public static final int COLUMN_HEADER
See Also:
Constant Field Values

COLUMN_FOOTER

public static final int COLUMN_FOOTER
See Also:
Constant Field Values

COLUMN_DETAIL

public static final int COLUMN_DETAIL
See Also:
Constant Field Values

COLUMN_GROUP_HEADER

public static final int COLUMN_GROUP_HEADER
See Also:
Constant Field Values

COLUMN_GROUP_FOOTER

public static final int COLUMN_GROUP_FOOTER
See Also:
Constant Field Values
Constructor Detail

TableUtil

public TableUtil(TableComponent table,
                 JasperDesign jasperDesign)
Method Detail

getCellBounds

public java.util.Map<Cell,java.awt.Rectangle> getCellBounds()

refresh

public void refresh()

init

public void init(TableComponent table)

getAllColumns

public static java.util.List<BaseColumn> getAllColumns(TableComponent table)

getAllColumns

public static java.util.List<BaseColumn> getAllColumns(java.util.List<BaseColumn> cols)

getBounds

public java.awt.Rectangle getBounds(int width,
                                    Cell cell,
                                    BaseColumn col)

getGroupList

public java.util.List<?> getGroupList()

getGroupList

public static java.util.List<?> getGroupList(TableComponent table,
                                             JasperDesign jd)

getCell

public static Cell getCell(BaseColumn bc,
                           int type,
                           java.lang.String grName)


© 2001-2010 Jaspersoft Corporation www.jaspersoft.com