Package com.inet.report
Interface SubreportProperties
-
- All Known Implementing Classes:
Subreport
public interface SubreportProperties
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FormulaFieldgetOnDemandLinkLabel()Returns a FormulaField whose return value specifies the text that is shown instead of the element content when on demand is enabled.FormulaFieldgetOnDemandTabLabel()Returns a FormulaField whose return value specifies the name of the tab which is showing the activated element if on demand is enabled.booleanisOnDemand()Returnstrueif on demand is enabled elsefalse.booleanisSuppressIfBlank()Returnstrueif "suppress if blank" is enabled elsefalse.voidsetOnDemand(boolean onDemand)Specifies whether on demand is enabled or not.voidsetOnDemandLinkLabel(FormulaField lab)If on demand is enabled, the element is shown in the report as a line of text.voidsetOnDemandLinkLabel(java.lang.String lab)If on demand is enabled, the element is shown in the report as a line of text.voidsetOnDemandTabLabel(FormulaField lab)If on demand is enabled and the element is activated, it is shown in an extra tab or window.voidsetOnDemandTabLabel(java.lang.String lab)If on demand is enabled and the element is activated, it is shown in an extra tab or window.voidsetSuppressIfBlank(boolean suppress)Specifies whether "suppress if blank" is enabled or not.
-
-
-
Method Detail
-
setOnDemand
void setOnDemand(boolean onDemand)
Specifies whether on demand is enabled or not.- Parameters:
onDemand- when true on demand is enabled- Since:
- 6.0
-
isOnDemand
boolean isOnDemand()
Returnstrueif on demand is enabled elsefalse.- Returns:
- whether on demand is enabled
- Since:
- 7.0
-
setOnDemandLinkLabel
void setOnDemandLinkLabel(java.lang.String lab)
If on demand is enabled, the element is shown in the report as a line of text. Specify this text with this method.- Parameters:
lab- - the text as String- Since:
- 6.0
-
setOnDemandLinkLabel
void setOnDemandLinkLabel(FormulaField lab)
If on demand is enabled, the element is shown in the report as a line of text. Specify this text with this method.- Parameters:
lab- - a FormulaField whose return value specifies the text.- Since:
- 6.0
-
getOnDemandLinkLabel
FormulaField getOnDemandLinkLabel()
Returns a FormulaField whose return value specifies the text that is shown instead of the element content when on demand is enabled.- Returns:
- FormulaField
- Since:
- 6.0
-
setOnDemandTabLabel
void setOnDemandTabLabel(java.lang.String lab)
If on demand is enabled and the element is activated, it is shown in an extra tab or window. Specify the name of this tab with this method.- Parameters:
lab- - the name as String- Since:
- 6.0
-
setOnDemandTabLabel
void setOnDemandTabLabel(FormulaField lab)
If on demand is enabled and the element is activated, it is shown in an extra tab or window. Specify the name of this tab with this method.- Parameters:
lab- - a FormulaField whose return value specifies the name.- Since:
- 6.0
-
getOnDemandTabLabel
FormulaField getOnDemandTabLabel()
Returns a FormulaField whose return value specifies the name of the tab which is showing the activated element if on demand is enabled.- Returns:
- FormulaField
- Since:
- 6.0
-
isSuppressIfBlank
boolean isSuppressIfBlank()
Returnstrueif "suppress if blank" is enabled elsefalse. A subreport is blank if all sections are suppressed or have no height. If the subreport is suppressed, the border and background will not be printed.- Returns:
- whether "suppress if blank" is enabled
- Since:
- 11.1
- See Also:
ReportProperties.isSuppressIfNoRows(),Section.getSuppressIfBlank()
-
setSuppressIfBlank
void setSuppressIfBlank(boolean suppress)
Specifies whether "suppress if blank" is enabled or not. A subreport is blank if all sections are suppressed or have no height. If the subreport is suppressed, the border and background will not be printed.- Parameters:
suppress- whether to suppress the display of this subreport if it is blank- Since:
- 11.1
- See Also:
ReportProperties.setSuppressIfNoRows(boolean),Section.setSuppressIfBlank(boolean)
-
-