|
||||||||||
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.ShowElementByNameFunction
public class ShowElementByNameFunction
This function hiddes the elements with the name specified in the 'element' parameter, if the given field has one of the values specified in the values array.
Constructor Summary | |
---|---|
ShowElementByNameFunction()
Deprecated. Default Constructor. |
Method Summary | |
---|---|
String |
getField()
Deprecated. Returns the name of the field from where the compare value is read. |
Expression |
getInstance()
Deprecated. Return a completly separated copy of this function. |
Object[] |
getValues()
Deprecated. Returns all known compare values as array. |
Object |
getValues(int index)
Deprecated. Returns one of the values that hide the element. |
int |
getValuesCount()
Deprecated. Returns the number of values in the compare list. |
void |
setField(String field)
Deprecated. Defines the name of the field from where the compare value is read. |
void |
setValues(int index,
Object value)
Deprecated. Defines one of the values that hide the element. |
void |
setValues(Object[] values)
Deprecated. Defines all values using the object from the value-array. |
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, 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, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setDependencyLevel, setName, setRuntime |
Constructor Detail |
---|
public ShowElementByNameFunction()
Method Detail |
---|
public String getField()
public void setField(String field)
field
- the name of the field.public void setValues(int index, Object value)
value
- the compare value.index
- the position in the list of all values.public Object getValues(int index)
index
- the position in the list of all values.
public Object[] getValues()
public void setValues(Object[] values)
values
- the new list of compare values.public int getValuesCount()
public Expression getInstance()
getInstance
in interface Expression
getInstance
in class AbstractExpression
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |