|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.crosstabs.base.JRBaseCrosstabMeasure net.sf.jasperreports.crosstabs.design.JRDesignCrosstabMeasure
public class JRDesignCrosstabMeasure
Crosstab measure implementation to be used for report designing.
Field Summary | |
---|---|
protected JRDesignVariable |
designVariable
|
static java.lang.String |
PROPERTY_CALCULATION
|
static java.lang.String |
PROPERTY_INCREMENTER_FACTORY_CLASS_NAME
|
static java.lang.String |
PROPERTY_NAME
|
static java.lang.String |
PROPERTY_PERCENTAGE_CALCULATION_CLASS_NAME
|
static java.lang.String |
PROPERTY_PERCENTAGE_OF_TYPE
|
static java.lang.String |
PROPERTY_VALUE_CLASS
|
static java.lang.String |
PROPERTY_VALUE_EXPRESSION
|
Fields inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabMeasure |
---|
calculationValue, expression, incrementerFactoryClass, incrementerFactoryClassName, incrementerFactoryClassRealName, name, percentageCalculatorClass, percentageCalculatorClassName, percentageCalculatorClassRealName, percentageType, valueClass, valueClassName, valueClassRealName, variable |
Fields inherited from interface net.sf.jasperreports.crosstabs.JRCrosstabMeasure |
---|
PERCENTAGE_TYPE_GRAND_TOTAL, PERCENTAGE_TYPE_NONE |
Constructor Summary | |
---|---|
JRDesignCrosstabMeasure()
Creates a crosstab measure. |
Method Summary | |
---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener l)
Add a property listener to listen to all properties of this class. |
void |
addPropertyChangeListener(java.lang.String propName,
java.beans.PropertyChangeListener l)
Add a property listener to receive property change events for only one specific property. |
java.lang.Object |
clone()
|
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance. |
protected java.beans.PropertyChangeSupport |
getPropertyChangeSupport()
Get the property change support object for this class. |
void |
removePropertyChangeListener(java.beans.PropertyChangeListener l)
Remove a property change listener registered for all properties. |
void |
removePropertyChangeListener(java.lang.String propName,
java.beans.PropertyChangeListener l)
Remove a property change listener registered for a specific property. |
void |
setCalculation(byte calculation)
Deprecated. Replaced by setCalculation(CalculationEnum) |
void |
setCalculation(CalculationEnum calculationValue)
Sets the calculation type. |
void |
setIncrementerFactoryClassName(java.lang.String incrementerFactoryClassName)
Sets the incrementer factory class name. |
void |
setName(java.lang.String name)
Sets the measure name. |
void |
setPercentageCalculatorClassName(java.lang.String percentageCalculatorClassName)
Sets the percentage calculator class name. |
void |
setPercentageOfType(byte percentageOfType)
Deprecated. Replaced by setPercentageType(CrosstabPercentageEnum) . |
void |
setPercentageType(CrosstabPercentageEnum percentageType)
Sets the percentage calculation type. |
void |
setValueClassName(java.lang.String valueClassName)
Sets the measure value class name. |
void |
setValueExpression(JRExpression expression)
Sets the measure value expression. |
Methods inherited from class net.sf.jasperreports.crosstabs.base.JRBaseCrosstabMeasure |
---|
getCalculation, getCalculationValue, getIncrementerFactoryClass, getIncrementerFactoryClassName, getName, getPercentageCalculatorClass, getPercentageCalculatorClassName, getPercentageOfType, getPercentageType, getValueClass, getValueClassName, getValueExpression, getVariable |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PROPERTY_CALCULATION
public static final java.lang.String PROPERTY_INCREMENTER_FACTORY_CLASS_NAME
public static final java.lang.String PROPERTY_NAME
public static final java.lang.String PROPERTY_PERCENTAGE_CALCULATION_CLASS_NAME
public static final java.lang.String PROPERTY_PERCENTAGE_OF_TYPE
public static final java.lang.String PROPERTY_VALUE_CLASS
public static final java.lang.String PROPERTY_VALUE_EXPRESSION
protected JRDesignVariable designVariable
Constructor Detail |
---|
public JRDesignCrosstabMeasure()
Method Detail |
---|
public void setCalculation(byte calculation)
setCalculation(CalculationEnum)
public void setCalculation(CalculationEnum calculationValue)
calculationValue
- the calculation typeJRCrosstabMeasure.getCalculation()
public void setValueExpression(JRExpression expression)
expression
- the measure value expression.JRCrosstabMeasure.getValueExpression()
public void setIncrementerFactoryClassName(java.lang.String incrementerFactoryClassName)
incrementerFactoryClassName
- the incrementer factory class nameJRCrosstabMeasure.getIncrementerFactoryClassName()
public void setName(java.lang.String name)
name
- the measure nameJRCrosstabMeasure.getName()
public void setPercentageOfType(byte percentageOfType)
setPercentageType(CrosstabPercentageEnum)
.
public void setPercentageType(CrosstabPercentageEnum percentageType)
percentageType
- the percentage calculation typeJRCrosstabMeasure.getPercentageType()
public void setPercentageCalculatorClassName(java.lang.String percentageCalculatorClassName)
percentageCalculatorClassName
- the percentage calculator class nameJRCrosstabMeasure.getPercentageCalculatorClassName()
public void setValueClassName(java.lang.String valueClassName)
valueClassName
- the measure value class nameJRCrosstabMeasure.getValueClassName()
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
l
- The property listener to add.removePropertyChangeListener(PropertyChangeListener)
public void addPropertyChangeListener(java.lang.String propName, java.beans.PropertyChangeListener l)
propName
- The property to listen to.l
- The property listener to add.removePropertyChangeListener(String, PropertyChangeListener)
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
addPropertyChangeListener(PropertyChangeListener)
method.
l
- The listener to remove.public void removePropertyChangeListener(java.lang.String propName, java.beans.PropertyChangeListener l)
propName
- The property to listen to.l
- The listener to remove.protected java.beans.PropertyChangeSupport getPropertyChangeSupport()
public java.lang.Object clone()
clone
in interface JRCloneable
clone
in class JRBaseCrosstabMeasure
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |