Method Summary |
|
public void | addField(Field f) Adds a field to this section. |
public void | addLine(Line l) Adds a line to this section. |
public boolean | contains(Field f) Returns true if the specified field is inside this section. |
public boolean | containsReferenceTo(Field f) Returns true if the specified field exists within this
section either directly (as a field) or indirectly (as a formula used
by an aggregate, user column, or formula or by the suppression proc). |
public boolean | containsReferenceTo(Formula f) Returns true if the specified formula exists within this
section either directly (as a formula field) or indirectly (as a formula
used by an aggregate, user column, or formula or by the suppression proc). |
public boolean | containsReferenceTo(UserColumn uc) Returns true if the specified user column exists within this
section either directly (as a user column field) or indirectly (as a user
column used by an aggregate, a formula, or by the suppression proc). |
public boolean | containsReferenceTo(Parameter p) Returns true if the specified parameter exists within this
section either directly (as a parameter field) or indirectly (as a parameter
used by an aggregate, a formula, or by the suppression proc). |
public void | evaluateFormulas() Forces all of the formulas used in this section to be evaluated. |
public Iterator | fields() Returns an iterator over all fields in this section. |
public Object[] | fieldsSortedBy(Comparator comp) Returns an array of this section's fields sorted by comp. |
public Field | findField(Object id) Given an id, returns the field within this section that has that id. |
public SectionArea | getArea() Returns the area this section is contained within. |
public double | getMinHeight() Returns the min height of this section. |
public String | getName() Returns the name of this section. |
public double | getOutputHeight() Returns the height of this section: not the minimum height defined
when the report was designed but rather the height necessary to
output this section. |
public Report | getReport() Returns the report containing this section. |
public SuppressionProc | getSuppressionProc() |
public double | getWidth() Returns the width of this section. |
public boolean | hasPageBreak() Returns the boolean page break flag. |
public boolean | isDetail() Returns true if this is a report detail section. |
public boolean | isHidden() |
public boolean | isVisibleForCurrentRow() Return true if this section should be printed, given this
particular row of data and our supressed state and suppression proc. |
public Iterator | lines() Returns an iterator over all lines in this section. |
public int | numFields() Returns the number of fields in this section. |
public void | removeField(Field f) Removes a field from this section. |
public void | removeLine(Line f) Removes a line from this section. |
public void | setArea(SectionArea area) Sets the area this section is contained within and notifies any observers
of the change. |
public void | setMinHeight(double newMinHeight) Sets the min height. |
public void | setPageBreak(boolean flag) Sets the page break flag. |
public void | update(Observable o, Object arg) |
public void | writeXML(XMLWriter out) Writes this section and all it contains as an XML tag. |