i-net Clear Reports

com.inet.report
Interface SubreportProperties

All Known Implementing Classes:
Subreport

public interface SubreportProperties

Interface for elements that supports onDemand like subreports.

This class is part of the RDC.


Method Summary
 FormulaField getOnDemandLinkLabel()
          Returns a FormulaField whose return value specifies the text that is shown instead of the element content when on demand is enabled.
 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.
 boolean isOnDemand()
          Returns true if on demand is enabled else false.
 boolean isSuppressIfBlank()
          Returns true if "suppress if blank" is enabled else false.
 void setOnDemand(boolean onDemand)
          Specifies whether on demand is enabled or not.
 void setOnDemandLinkLabel(java.lang.String lab)
          If on demand is enabled, the element is shown in the report as a line of text.
 void setOnDemandLinkLabel(FormulaField lab)
          If on demand is enabled, the element is shown in the report as a line of text.
 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.
 void setOnDemandTabLabel(FormulaField lab)
          If on demand is enabled and the element is activated, it is shown in an extra tab or window.
 void setSuppressIfBlank(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

isOnDemand

boolean isOnDemand()
Returns true if on demand is enabled else false.

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

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.

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

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

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.

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

isSuppressIfBlank

boolean isSuppressIfBlank()
Returns true if "suppress if blank" is enabled else false. 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)

i-net Clear Reports

Copyright © 1999-2011 by i-net software GmbH