public class NegativeNumberPaintChangeFunction extends AbstractElementFormatFunction
Constructor and Description |
---|
NegativeNumberPaintChangeFunction()
Deprecated.
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Color |
computeColor()
Deprecated.
Computes the color that is applied to the elements.
|
protected boolean |
evaluateElement(ReportElement e)
Deprecated.
|
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.
|
getDependencyLevel, getElement, getInstance, getValue, groupFinished, groupStarted, isExecutable, itemsAdvanced, itemsFinished, itemsStarted, pageFinished, pageStarted, processBand, processFooterBands, processGroupHeaders, processHeaderBands, processRootBand, recordCacheHit, recordCacheMiss, reportCachePerformance, reportDone, reportFinished, reportInitialized, reportStarted, setElement
summaryRowSelection
clone, getDataRow, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
summaryRowSelection
clone, getDataRow, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setDependencyLevel, setName, setRuntime
public NegativeNumberPaintChangeFunction()
protected boolean evaluateElement(ReportElement e)
evaluateElement
in class AbstractElementFormatFunction
protected Color computeColor()
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.Copyright © 2017 Hitachi Vantara. All rights reserved.