Class JRDesignCrosstabCell
- java.lang.Object
-
- net.sf.jasperreports.crosstabs.base.JRBaseCrosstabCell
-
- net.sf.jasperreports.crosstabs.design.JRDesignCrosstabCell
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,JRCrosstabCell,JRChangeEventsSupport,JRCloneable
public class JRDesignCrosstabCell extends JRBaseCrosstabCell implements JRChangeEventsSupport
Implementation ofJRCrosstabCellto be used for report design.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringPROPERTY_COLUMN_TOTAL_GROUPstatic java.lang.StringPROPERTY_CONTENTSstatic java.lang.StringPROPERTY_HEIGHTstatic java.lang.StringPROPERTY_ROW_TOTAL_GROUPstatic java.lang.StringPROPERTY_WIDTH-
Fields inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabCell
columnTotalGroup, contents, height, rowTotalGroup, width
-
-
Constructor Summary
Constructors Constructor Description JRDesignCrosstabCell()Creates a crosstab data cell.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()JRPropertyChangeSupportgetEventSupport()Returns the property change support object for this instance.voidsetColumnTotalGroup(java.lang.String columnTotalGroup)Indicates that the cell corresponds to a total column.voidsetContents(JRDesignCellContents contents)Sets the cell contents.voidsetHeight(java.lang.Integer height)Sets the cell height.voidsetRowTotalGroup(java.lang.String rowTotalGroup)Indicates that the cell corresponds to a total row.voidsetWidth(java.lang.Integer width)Sets the cell width.-
Methods inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabCell
getColumnTotalGroup, getContents, getHeight, getRowTotalGroup, getWidth
-
-
-
-
Field Detail
-
PROPERTY_COLUMN_TOTAL_GROUP
public static final java.lang.String PROPERTY_COLUMN_TOTAL_GROUP
- See Also:
- Constant Field Values
-
PROPERTY_CONTENTS
public static final java.lang.String PROPERTY_CONTENTS
- See Also:
- Constant Field Values
-
PROPERTY_HEIGHT
public static final java.lang.String PROPERTY_HEIGHT
- See Also:
- Constant Field Values
-
PROPERTY_ROW_TOTAL_GROUP
public static final java.lang.String PROPERTY_ROW_TOTAL_GROUP
- See Also:
- Constant Field Values
-
PROPERTY_WIDTH
public static final java.lang.String PROPERTY_WIDTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
setColumnTotalGroup
public void setColumnTotalGroup(java.lang.String columnTotalGroup)
Indicates that the cell corresponds to a total column.- Parameters:
columnTotalGroup- the corresponding column group- See Also:
JRCrosstabCell.getColumnTotalGroup()
-
setContents
public void setContents(JRDesignCellContents contents)
Sets the cell contents.- Parameters:
contents- the contents- See Also:
JRCrosstabCell.getContents()
-
setRowTotalGroup
public void setRowTotalGroup(java.lang.String rowTotalGroup)
Indicates that the cell corresponds to a total row.- Parameters:
rowTotalGroup- the corresponding row group- See Also:
JRCrosstabCell.getRowTotalGroup()
-
setWidth
public void setWidth(java.lang.Integer width)
Sets the cell width.This is compulsory for base cells only.
- Parameters:
width- the width- See Also:
JRCrosstabCell.getWidth()
-
setHeight
public void setHeight(java.lang.Integer height)
Sets the cell height.This is compulsory for base cells only.
- Parameters:
height- the height- See Also:
JRCrosstabCell.getHeight()
-
clone
public java.lang.Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classJRBaseCrosstabCell
-
getEventSupport
public JRPropertyChangeSupport getEventSupport()
Description copied from interface:JRChangeEventsSupportReturns the property change support object for this instance.- Specified by:
getEventSupportin interfaceJRChangeEventsSupport- Returns:
- the property change support object for this instance
-
-