Class JRDesignCrosstabCell
- java.lang.Object
-
- net.sf.jasperreports.crosstabs.base.JRBaseCrosstabCell
-
- net.sf.jasperreports.crosstabs.design.JRDesignCrosstabCell
-
- All Implemented Interfaces:
Serializable
,Cloneable
,JRCrosstabCell
,JRChangeEventsSupport
,JRCloneable
public class JRDesignCrosstabCell extends JRBaseCrosstabCell implements JRChangeEventsSupport
Implementation ofJRCrosstabCell
to 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 String
PROPERTY_COLUMN_TOTAL_GROUP
static String
PROPERTY_CONTENTS
static String
PROPERTY_HEIGHT
static String
PROPERTY_ROW_TOTAL_GROUP
static String
PROPERTY_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 Object
clone()
JRPropertyChangeSupport
getEventSupport()
Returns the property change support object for this instance.void
setColumnTotalGroup(String columnTotalGroup)
Indicates that the cell corresponds to a total column.void
setContents(JRDesignCellContents contents)
Sets the cell contents.void
setHeight(Integer height)
Sets the cell height.void
setRowTotalGroup(String rowTotalGroup)
Indicates that the cell corresponds to a total row.void
setWidth(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 String PROPERTY_COLUMN_TOTAL_GROUP
- See Also:
- Constant Field Values
-
PROPERTY_CONTENTS
public static final String PROPERTY_CONTENTS
- See Also:
- Constant Field Values
-
PROPERTY_HEIGHT
public static final String PROPERTY_HEIGHT
- See Also:
- Constant Field Values
-
PROPERTY_ROW_TOTAL_GROUP
public static final String PROPERTY_ROW_TOTAL_GROUP
- See Also:
- Constant Field Values
-
PROPERTY_WIDTH
public static final String PROPERTY_WIDTH
- See Also:
- Constant Field Values
-
-
Method Detail
-
setColumnTotalGroup
public void setColumnTotalGroup(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(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(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(Integer height)
Sets the cell height.This is compulsory for base cells only.
- Parameters:
height
- the height- See Also:
JRCrosstabCell.getHeight()
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classJRBaseCrosstabCell
-
getEventSupport
public JRPropertyChangeSupport getEventSupport()
Description copied from interface:JRChangeEventsSupport
Returns the property change support object for this instance.- Specified by:
getEventSupport
in interfaceJRChangeEventsSupport
- Returns:
- the property change support object for this instance
-
-