|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.crosstabs.base.JRBaseCrosstabCell
public class JRBaseCrosstabCell
Base read-only implementation of JRCrosstabCell.
| Field Summary | |
|---|---|
protected String |
columnTotalGroup
|
protected JRCellContents |
contents
|
protected Integer |
height
|
protected String |
rowTotalGroup
|
protected Integer |
width
|
| Constructor Summary | |
|---|---|
protected |
JRBaseCrosstabCell()
|
|
JRBaseCrosstabCell(JRCrosstabCell crosstabCell,
JRBaseObjectFactory factory)
|
| Method Summary | |
|---|---|
Object |
clone()
|
String |
getColumnTotalGroup()
Returns the name of the column group if the crosstab cell corresponds to a total column and null otherwise. |
JRCellContents |
getContents()
Returns the cell contents. |
Integer |
getHeight()
Returns the height of the cell. |
String |
getRowTotalGroup()
Returns the name of the row group if the crosstab cell corresponds to a total row and null otherwise. |
Integer |
getWidth()
Returns the width of the cell. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Integer width
protected Integer height
protected String rowTotalGroup
protected String columnTotalGroup
protected JRCellContents contents
| Constructor Detail |
|---|
protected JRBaseCrosstabCell()
public JRBaseCrosstabCell(JRCrosstabCell crosstabCell,
JRBaseObjectFactory factory)
| Method Detail |
|---|
public String getRowTotalGroup()
JRCrosstabCellnull otherwise.
getRowTotalGroup in interface JRCrosstabCellpublic String getColumnTotalGroup()
JRCrosstabCellnull otherwise.
getColumnTotalGroup in interface JRCrosstabCellpublic JRCellContents getContents()
JRCrosstabCellShould never return null, but empty cell contents instead.
getContents in interface JRCrosstabCellpublic Integer getHeight()
JRCrosstabCell
The height of the cell can be unspecified.
The height used for the cell is computed base on the rules described
here.
getHeight in interface JRCrosstabCellpublic Integer getWidth()
JRCrosstabCell
The width of the cell can be unspecified.
The width used for the cell is computed base on the rules described
here.
getWidth in interface JRCrosstabCellpublic Object clone()
clone in interface JRCloneableclone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||