|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.crosstabs.base.JRBaseCrosstabCell
public class JRBaseCrosstabCell
Base read-only implementation of JRCrosstabCell
.
Field Summary | |
---|---|
protected java.lang.String |
columnTotalGroup
|
protected JRCellContents |
contents
|
protected java.lang.Integer |
height
|
protected java.lang.String |
rowTotalGroup
|
protected java.lang.Integer |
width
|
Constructor Summary | |
---|---|
protected |
JRBaseCrosstabCell()
|
|
JRBaseCrosstabCell(JRCrosstabCell crosstabCell,
JRBaseObjectFactory factory)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
java.lang.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. |
java.lang.Integer |
getHeight()
Returns the height of the cell. |
java.lang.String |
getRowTotalGroup()
Returns the name of the row group if the crosstab cell corresponds to a total row and null otherwise. |
java.lang.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 java.lang.Integer width
protected java.lang.Integer height
protected java.lang.String rowTotalGroup
protected java.lang.String columnTotalGroup
protected JRCellContents contents
Constructor Detail |
---|
protected JRBaseCrosstabCell()
public JRBaseCrosstabCell(JRCrosstabCell crosstabCell, JRBaseObjectFactory factory)
Method Detail |
---|
public java.lang.String getRowTotalGroup()
JRCrosstabCell
null
otherwise.
getRowTotalGroup
in interface JRCrosstabCell
public java.lang.String getColumnTotalGroup()
JRCrosstabCell
null
otherwise.
getColumnTotalGroup
in interface JRCrosstabCell
public JRCellContents getContents()
JRCrosstabCell
Should never return null, but empty cell contents instead.
getContents
in interface JRCrosstabCell
public java.lang.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 JRCrosstabCell
public java.lang.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 JRCrosstabCell
public java.lang.Object clone()
clone
in interface JRCloneable
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |