com.stimulsoft.report.engine.engineV2
Class StiBandsOnAllPages

java.lang.Object
  extended by com.stimulsoft.report.engine.engineV2.StiBandsOnAllPages

public class StiBandsOnAllPages
extends java.lang.Object

A class hepls to output bands which should be output on all pages.


Field Summary
 StiEngine engine
           
 
Constructor Summary
StiBandsOnAllPages(StiEngine engine)
           
 
Method Summary
 void Add(StiDataBand dataBand, StiBand band)
          Starts monitoring of this band for rendering OnAllPages.
 boolean getDenyRendering()
          If the property is true then bands rendering on all pages is blocked.
 boolean IsBandInBandsList(StiBand band)
           
 void Remove(StiDataBand dataBand)
          Ends monitoring of this band for rendering OnAllPages.
 void Render()
          Outputs bands, which were previously added to the collection of bands, which are output on all pages, on a new page.
 void setDenyRendering(boolean value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

engine

public StiEngine engine
Constructor Detail

StiBandsOnAllPages

public StiBandsOnAllPages(StiEngine engine)
Method Detail

getDenyRendering

public final boolean getDenyRendering()
If the property is true then bands rendering on all pages is blocked. The property is used to output headers, with the height higher than one page, on all pages.


setDenyRendering

public final void setDenyRendering(boolean value)

Add

public final void Add(StiDataBand dataBand,
                      StiBand band)
Starts monitoring of this band for rendering OnAllPages.

Parameters:
dataBand - A DataBand to what the band belongs to and what it is nesessary to be output on all pages.
band - A band what it is nesessary to be output on all pages.

Remove

public final void Remove(StiDataBand dataBand)
Ends monitoring of this band for rendering OnAllPages. All bands which are dependent on the specified DataBand are removed.

Parameters:
dataBand - A DataBand for removing dependent bands.

Render

public final void Render()
Outputs bands, which were previously added to the collection of bands, which are output on all pages, on a new page.


IsBandInBandsList

public final boolean IsBandInBandsList(StiBand band)