Style Intelligence v12.0

inetsoft.report
Interface SubreportElement

All Superinterfaces:
Cloneable, ReportElement, Serializable

public interface SubreportElement
extends ReportElement

A Subreport is a report embedded in a section band. The parameters of a subreport can be bound to section field values. A subreport is printed inside a section band.


Field Summary
 
Fields inherited from interface inetsoft.report.ReportElement
AGGREGATE, AUTOSIZE, GROW, LOCAL_QUERY, QUERY, XNODEPATH
 
Method Summary
 String getParameterLink(String param)
          Get all parameter links.
 String[] getParameters()
          Get all parameters in the subreport.
 ReportSheet getSubreport()
          Get the subreport.
 ReportSheet getSubreport(boolean runtime)
          Get the subreport.
 VariableTable getVariable()
          Get the user variable
 boolean isSharedPageNumber()
          Check whether to share top report page numbering.
 void removeAllParameterLinks()
          Remove all parameter link setting for the subreport.
 void setParameterLink(String param, String link)
          Set the link from a section field to a subreport parameter.
 void setSharedPageNumber(boolean numbering)
          Set whether the use the top report page numbering or have page numbering per subreport.
 void setSubreport(ReportSheet report)
          Set the subreport.
 void setVariable(VariableTable vars)
          Set the user variable
 
Methods inherited from interface inetsoft.report.ReportElement
clone, getAlignment, getBackground, getCSSClass, getFont, getForeground, getFullName, getID, getIndent, getOnClick, getPreferredSize, getProperty, getPropertyNames, getScript, getSpacing, getTarget, getType, getUserObject, isHideOnPrint, isKeepWithNext, isVisible, setAlignment, setBackground, setContext, setCSSClass, setFont, setForeground, setFullName, setHideOnPrint, setID, setIndent, setKeepWithNext, setOnClick, setProperty, setScript, setSpacing, setTarget, setUserObject, setVisible
 

Method Detail

getSubreport

ReportSheet getSubreport()
Get the subreport.


getSubreport

ReportSheet getSubreport(boolean runtime)
Get the subreport.


setSubreport

void setSubreport(ReportSheet report)
Set the subreport.


getParameters

String[] getParameters()
Get all parameters in the subreport.


getParameterLink

String getParameterLink(String param)
Get all parameter links. The link value is the field name in the section band where the subreport is embedded.


setParameterLink

void setParameterLink(String param,
                      String link)
Set the link from a section field to a subreport parameter. The field value is used as the parameter value when the subreport is printed.


removeAllParameterLinks

void removeAllParameterLinks()
Remove all parameter link setting for the subreport.


setVariable

void setVariable(VariableTable vars)
Set the user variable


getVariable

VariableTable getVariable()
Get the user variable


setSharedPageNumber

void setSharedPageNumber(boolean numbering)
Set whether the use the top report page numbering or have page numbering per subreport. It defaults to true.


isSharedPageNumber

boolean isSharedPageNumber()
Check whether to share top report page numbering.


Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.