public abstract class JRDesignCrosstabGroup extends JRBaseCrosstabGroup implements JRChangeEventsSupport
Modifier and Type | Field and Description |
---|---|
protected JRDesignVariable |
designVariable |
protected JRDesignCrosstab |
parent |
static String |
PROPERTY_BUCKET |
static String |
PROPERTY_HEADER |
static String |
PROPERTY_MERGE_HEADER_CELLS |
static String |
PROPERTY_NAME |
static String |
PROPERTY_TOTAL_HEADER |
static String |
PROPERTY_TOTAL_POSITION |
bucket, header, mergeHeaderCells, name, totalHeader, totalPositionValue, variable
Modifier | Constructor and Description |
---|---|
protected |
JRDesignCrosstabGroup() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
JRDesignCrosstabGroup |
clone(JRDesignCrosstab parent) |
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
JRDesignCrosstab |
getParent()
Returns the group parent crosstab.
|
void |
setBucket(JRDesignCrosstabBucket bucket)
Sets the group bucketing information.
|
protected void |
setCellOrigin(JRCellContents cell,
JRCrosstabOrigin origin) |
void |
setHeader(JRDesignCellContents header)
Sets the group header cell.
|
void |
setMergeHeaderCells(Boolean mergeHeaderCells)
Defines whether the header cell should span across entries in the group.
|
void |
setName(String name)
Sets the group name.
|
void |
setTotalHeader(JRDesignCellContents totalHeader)
Sets the group total header cell.
|
void |
setTotalPosition(CrosstabTotalPositionEnum totalPositionValue)
Sets the position of the total row/column.
|
clone, getBucket, getHeader, getMergeHeaderCells, getName, getTotalHeader, getTotalPositionValue, getVariable, hasTotal
public static final String PROPERTY_BUCKET
public static final String PROPERTY_HEADER
public static final String PROPERTY_NAME
public static final String PROPERTY_TOTAL_HEADER
public static final String PROPERTY_TOTAL_POSITION
public static final String PROPERTY_MERGE_HEADER_CELLS
protected JRDesignVariable designVariable
protected JRDesignCrosstab parent
public void setName(String name)
name
- the nameJRCrosstabGroup.getName()
public void setTotalPosition(CrosstabTotalPositionEnum totalPositionValue)
totalPositionValue
- the position of the total row/columnJRCrosstabGroup.getTotalPositionValue()
public void setBucket(JRDesignCrosstabBucket bucket)
bucket
- the bucketing informationJRCrosstabGroup.getBucket()
public void setHeader(JRDesignCellContents header)
header
- the header cellJRCrosstabGroup.getHeader()
public void setTotalHeader(JRDesignCellContents totalHeader)
totalHeader
- the total headerJRCrosstabGroup.getTotalHeader()
public void setMergeHeaderCells(Boolean mergeHeaderCells)
mergeHeaderCells
- whether the header cell should span across entries in the group; if null
the default will applyJRCrosstabGroup.getMergeHeaderCells()
public JRDesignCrosstab getParent()
protected void setCellOrigin(JRCellContents cell, JRCrosstabOrigin origin)
public Object clone()
clone
in interface JRCloneable
clone
in class JRBaseCrosstabGroup
public JRDesignCrosstabGroup clone(JRDesignCrosstab parent)
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
Copyright © 2016. All rights reserved.