Style Intelligence v12.0

inetsoft.report
Class TableLayout.VRegion

java.lang.Object
  extended by inetsoft.report.BaseLayout.Region
      extended by inetsoft.report.TableLayout.VRegion
All Implemented Interfaces:
inetsoft.util.XMLSerializable, Serializable, Cloneable
Enclosing class:
TableLayout

public class TableLayout.VRegion
extends BaseLayout.Region

Defines a region of cols. Each region is used to display one col in the data table lens, now only is empty, all cell store in HRegion.

See Also:
Serialized Form

Constructor Summary
TableLayout.VRegion()
           
 
Method Summary
 CellBinding getCellBinding(int r, int c)
          Get the cell binding for the cell.
 int getRowBinding(int r)
          Get the row in the table to map this region row to.
 int getRowCount()
          Get number of rows in the region.
 int getRowHeight(int r)
          Get the row height.
 void insertRow(int row)
          Insert a row above the specified row.
 void removeRow(int row)
          Remove a row.
 void setCellBinding(int r, int c, CellBinding binding)
          Set the cell binding for the cell.
 void setRowBinding(int r, int map)
          Set the row in the base table to map this row to.
 void setRowCount(int nrow)
          Set the number of rows in the region.
 void setRowHeight(int r, int height)
          Set the row height.
 
Methods inherited from class inetsoft.report.BaseLayout.Region
clone, clone, debug, debug, equals, equals, equalsContent, findSpan, getCellDataPath, getColCount, getRowDataPath, getSpan, hasCrossRegionSpan, insertColumn, isVirtual, parseAttributes, parseContent, parseXML, removeColumn, setSpan, toString, writeAttributes, writeContent, writeXML
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableLayout.VRegion

public TableLayout.VRegion()
Method Detail

getRowCount

public int getRowCount()
Get number of rows in the region.

Overrides:
getRowCount in class BaseLayout.Region

setRowCount

public void setRowCount(int nrow)
Set the number of rows in the region.

Overrides:
setRowCount in class BaseLayout.Region

getRowHeight

public int getRowHeight(int r)
Get the row height.

Overrides:
getRowHeight in class BaseLayout.Region
Parameters:
r - row index.
Returns:
-1 if the height is not set, or row heights in points.

setRowHeight

public void setRowHeight(int r,
                         int height)
Set the row height.

Overrides:
setRowHeight in class BaseLayout.Region
Parameters:
r - row index.
height - -1 if the height is not set, or row heights in points.

getCellBinding

public CellBinding getCellBinding(int r,
                                  int c)
Get the cell binding for the cell.

Overrides:
getCellBinding in class BaseLayout.Region
Parameters:
r - row index within the region.
c - column index within the region.

setCellBinding

public void setCellBinding(int r,
                           int c,
                           CellBinding binding)
Set the cell binding for the cell.

Overrides:
setCellBinding in class BaseLayout.Region
Parameters:
r - row index within the region.
c - column index within the region.
binding - cell binding.

getRowBinding

public int getRowBinding(int r)
Get the row in the table to map this region row to.

Overrides:
getRowBinding in class BaseLayout.Region

setRowBinding

public void setRowBinding(int r,
                          int map)
Set the row in the base table to map this row to. This is used in crosstab header to allow a row to map to a header without individual cell binding.

Overrides:
setRowBinding in class BaseLayout.Region

insertRow

public void insertRow(int row)
Insert a row above the specified row.

Overrides:
insertRow in class BaseLayout.Region
Parameters:
row - row index.

removeRow

public void removeRow(int row)
Remove a row.

Overrides:
removeRow in class BaseLayout.Region
Parameters:
row - row index.

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.