| jimm.datavision.field.Field jimm.datavision.field.SubreportField
SubreportField | public class SubreportField extends Field (Code) | | A subreport field represents an entire report within a field. The value
of a subreport field holds a report object.
author: Jim Menard, jimm@io.com |
Constructor Summary | |
public | SubreportField(Long id, Report report, Section section, Object value, boolean visible) Constructs a text field with the specified id in the specified report
section whose text value is value. |
SubreportField | public SubreportField(Long id, Report report, Section section, Object value, boolean visible)(Code) | | Constructs a text field with the specified id in the specified report
section whose text value is value.
Parameters: id - the new field's id Parameters: report - the report containing this element Parameters: section - the report section in which the field resides Parameters: value - the id of a subreport Parameters: visible - show/hide flag |
getValue | public Object getValue()(Code) | | Returns a string containing a line of text for each row returned by
the subreport query.
a string with newlines separating each row of data |
setSection | public void setSection(Section s)(Code) | | This override adds or removes the subreport from its parent report. When
s is null , the subreport is removed from the
report. Doing this prevents the subreport from being output as part of
the report when this field has been removed from the report.
Parameters: s - the new section; may be null |
|
|