jimm.datavision
Class SuppressionProc
java.lang.Object
jimm.datavision.SuppressionProc
- All Implemented Interfaces:
- Writeable
public class SuppressionProc
- extends java.lang.Object
- implements Writeable
A suppression proc is an object used to decide if data should be
displayed or not. It returns true if the data should
be displayed or false if the data should be supressed
(should not be displayed).
- Author:
- Jim Menard, jimm@io.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
formula
protected Formula formula
report
protected Report report
hiding
protected boolean hiding
SuppressionProc
public SuppressionProc(Report report)
isHidden
public boolean isHidden()
setHidden
public void setHidden(boolean val)
getFormula
public Formula getFormula()
- Returns formula used when not hiding.
- Returns:
- formula used when not hiding
refersTo
public boolean refersTo(Field f)
refersTo
public boolean refersTo(Formula f)
refersTo
public boolean refersTo(UserColumn uc)
refersTo
public boolean refersTo(Parameter p)
suppress
public boolean suppress()
- Returns
true if the data should be suppressed (not displayed).
Returns false if the data should not be supressed (it should
be displayed).
- Returns:
true if the data should be suppressed (not displayed)
writeXML
public void writeXML(XMLWriter out)
- Writes this suppression proc as an XML tag.
- Specified by:
writeXML in interface Writeable
- Parameters:
out - a writer that knows how to write XML