|
Style Intelligence v12.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectinetsoft.report.BaseLayout.Region
public class BaseLayout.Region
Defines a region of rows. Each region is used to display one row in the data table lens.
| Constructor Summary | |
|---|---|
BaseLayout.Region()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Make a copy of the region. |
Object |
clone(BaseLayout layout)
Make a copy of the region. |
void |
debug()
|
void |
debug(int[] cmax)
|
boolean |
equals(Object obj)
Check if equals another object. |
boolean |
equals(Object obj,
boolean all)
Check if equals another object. |
boolean |
equalsContent(Object obj)
Check the obj is eqauls with this object or not. |
Rectangle |
findSpan(int r,
int c)
Find the span cells that covers this cell. |
CellBinding |
getCellBinding(int r,
int c)
Get the cell binding for the cell. |
TableDataPath |
getCellDataPath(int row,
int col)
|
int |
getColCount()
Get col count. |
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. |
TableDataPath |
getRowDataPath(int row)
|
int |
getRowHeight(int r)
Get the row height. |
Dimension |
getSpan(int r,
int c)
Get the cell span setting for the cell. |
boolean |
hasCrossRegionSpan(int r,
int c)
|
void |
insertColumn(int col)
Insert a column before the specified column. |
void |
insertRow(int row)
Insert a row above the specified row. |
boolean |
isVirtual()
Check if the cell region is virtual. |
protected void |
parseAttributes(Element tag)
Parse attributes. |
protected void |
parseContent(Element tag)
Parse content. |
void |
parseXML(Element tag)
Parse xml data into object. |
void |
removeColumn(int col)
Remove a column. |
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. |
void |
setSpan(int r,
int c,
Dimension span)
Set the cell span setting for the cell. |
String |
toString()
To string. |
protected void |
writeAttributes(PrintWriter writer)
Write attributes. |
protected void |
writeContent(PrintWriter writer)
Write content. |
void |
writeXML(PrintWriter writer)
Write to XML format. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BaseLayout.Region()
| Method Detail |
|---|
public boolean isVirtual()
public TableDataPath getCellDataPath(int row,
int col)
public TableDataPath getRowDataPath(int row)
public int getRowHeight(int r)
r - row index.
public void setRowHeight(int r,
int height)
r - row index.height - -1 if the height is not set, or row heights in points.public int getRowBinding(int r)
public void setRowBinding(int r,
int map)
public CellBinding getCellBinding(int r,
int c)
r - row index within the region.c - column index within the region.
public void setCellBinding(int r,
int c,
CellBinding binding)
r - row index within the region.c - column index within the region.binding - cell binding.public void insertColumn(int col)
col - column index.public void removeColumn(int col)
col - column index.public int getRowCount()
public void setRowCount(int nrow)
public void insertRow(int row)
row - row index.public void removeRow(int row)
row - row index.
public boolean hasCrossRegionSpan(int r,
int c)
public Dimension getSpan(int r,
int c)
r - row index within the region.c - column index within the region.
public void setSpan(int r,
int c,
Dimension span)
r - row index within the region.c - column index within the region.span - span.width is the number of columns, and span.height is
the number of rows.
public Rectangle findSpan(int r,
int c)
x - negative distance to the left of the span cell.
y - negative distance to the top of the span cell.
width - number of columns to the right of the span cell, including
the current column.
height - number of rows to the bottom of the span cell, including
the current row.
public void writeXML(PrintWriter writer)
writeXML in interface inetsoft.util.XMLSerializableprotected void writeAttributes(PrintWriter writer)
protected void writeContent(PrintWriter writer)
public void parseXML(Element tag)
throws Exception
parseXML in interface inetsoft.util.XMLSerializableException
protected void parseAttributes(Element tag)
throws Exception
Exception
protected void parseContent(Element tag)
throws Exception
Exceptionpublic Object clone()
clone in class Objectpublic Object clone(BaseLayout layout)
public boolean equalsContent(Object obj)
public boolean equals(Object obj)
equals in class Object
public boolean equals(Object obj,
boolean all)
public int getColCount()
public String toString()
toString in class Objectpublic void debug()
public void debug(int[] cmax)
|
Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||