|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.function.AbstractExpression
org.pentaho.reporting.engine.classic.core.function.AbstractFunction
org.pentaho.reporting.engine.classic.core.function.AbstractElementFormatFunction
org.pentaho.reporting.engine.classic.core.function.NegativeNumberPaintChangeFunction
public class NegativeNumberPaintChangeFunction
This function changes the color of the named elements according to the current value of a numeric field. If the value of the field is not numeric (or null), the positive color is set.
Constructor Summary | |
---|---|
NegativeNumberPaintChangeFunction()
Deprecated. Default Constructor. |
Method Summary | |
---|---|
String |
getField()
Deprecated. Returns the name of the data-row column from where to read the numeric value. |
Color |
getNegativeColor()
Deprecated. Returns the color that is used if the number read from the field is negative. |
Color |
getPositiveColor()
Deprecated. Returns the color that is used if the number read from the field is positive. |
Color |
getZeroColor()
Deprecated. Returns the color that is used if the number read from the field is zero. |
void |
setField(String field)
Deprecated. Defines the name of the data-row column from where to read the numeric value. |
void |
setNegativeColor(Color negativeColor)
Deprecated. Defines the color that is used if the number read from the field is negative. |
void |
setPositiveColor(Color positiveColor)
Deprecated. Defines the color that is used if the number read from the field is positive. |
void |
setZeroColor(Color zeroColor)
Deprecated. Defines the color that is used if the number read from the field is zero. |
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractElementFormatFunction |
---|
getElement, getValue, groupFinished, groupStarted, itemsAdvanced, itemsFinished, itemsStarted, pageFinished, pageStarted, reportFinished, reportInitialized, reportStarted, setElement |
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractFunction |
---|
reportDone |
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression |
---|
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.pentaho.reporting.engine.classic.core.event.ReportListener |
---|
reportDone |
Methods inherited from interface org.pentaho.reporting.engine.classic.core.function.Expression |
---|
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setDependencyLevel, setName, setRuntime |
Constructor Detail |
---|
public NegativeNumberPaintChangeFunction()
Method Detail |
---|
public Color getPositiveColor()
public void setPositiveColor(Color positiveColor)
positiveColor
- the color for positive values.public Color getNegativeColor()
public void setNegativeColor(Color negativeColor)
negativeColor
- the color for negative values.public Color getZeroColor()
public void setZeroColor(Color zeroColor)
zeroColor
- the color for zero values.public String getField()
public void setField(String field)
field
- the field name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |