public class ElementColorFunction extends AbstractElementFormatFunction
element
to name an element contained in the ItemBand whose color should be affected by
this function. All colors have the color 'black' by default.Constructor and Description |
---|
ElementColorFunction()
Deprecated.
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
evaluateElement(ReportElement e)
Deprecated.
|
Color |
getColorFalse()
Deprecated.
Returns the color for false values.
|
Color |
getColorTrue()
Deprecated.
Returns the color for true values.
|
String |
getField()
Deprecated.
Returns the field used by the function.
|
protected boolean |
isValueTrue()
Deprecated.
Computes the boolean value.
|
void |
setColorFalse(Color colorFalse)
Deprecated.
Sets the color for false values.
|
void |
setColorTrue(Color colorTrue)
Deprecated.
Sets the color for true values.
|
void |
setField(String field)
Deprecated.
Sets the field name for the function.
|
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 ElementColorFunction()
public String getField()
public void setField(String field)
field
- the field name.public void setColorTrue(Color colorTrue)
colorTrue
- the color.public void setColorFalse(Color colorFalse)
colorFalse
- the color.public Color getColorTrue()
public Color getColorFalse()
protected boolean evaluateElement(ReportElement e)
evaluateElement
in class AbstractElementFormatFunction
protected boolean isValueTrue()
Copyright © 2017 Hitachi Vantara. All rights reserved.