|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.jasperreports.engine.fill.JRFillContext
public class JRFillContext
Context class shared by all the fillers involved in a report (master and subfillers).
The context is created by the master filler and inherited by the subfillers.
JRBaseFiller| Constructor Summary | |
|---|---|
JRFillContext()
Constructs a fill context. |
|
| Method Summary | |
|---|---|
JRPrintImage |
getLoadedImage(java.lang.Object source)
Gets a cached image. |
JRPrintPage |
getPrintPage()
Returns the current master print page. |
boolean |
hasLoadedImage(java.lang.Object source)
Checks whether an image given by source has already been loaded and cached. |
boolean |
isIgnorePagination()
Decides whether the filling should ignore pagination. |
boolean |
isPerPageBoundElements()
Decides whether fillers should keep per page bound element maps. |
boolean |
isUsingVirtualizer()
Decides whether virtualization is used by the filling process. |
void |
registerLoadedImage(java.lang.Object source,
JRPrintImage image)
Registers an image loaded from a source. |
void |
setIgnorePagination(boolean ignorePagination)
Sets the flag that decides whether pagination should be ignored during filling. |
void |
setPerPageBoundElements(boolean perPageBoundElements)
Sets the flag indicating whether fillers should keep per page bound element maps. |
void |
setPrintPage(JRPrintPage page)
Sets the current master print page. |
void |
setUsingVirtualizer(boolean usingVirtualizer)
Sets the flag indicating whether a virtualizer is used by the filling process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JRFillContext()
| Method Detail |
|---|
public boolean hasLoadedImage(java.lang.Object source)
source - the source of the image
getLoadedImage(Object),
registerLoadedImage(Object, JRPrintImage)public JRPrintImage getLoadedImage(java.lang.Object source)
source - the source of the image
registerLoadedImage(Object, JRPrintImage)
public void registerLoadedImage(java.lang.Object source,
JRPrintImage image)
The image is cached for further use.
source - the source that was used to load the imageimage - the loaded imagegetLoadedImage(Object)public void setUsingVirtualizer(boolean usingVirtualizer)
usingVirtualizer - whether virtualization is usedisUsingVirtualizer()public boolean isUsingVirtualizer()
true iff a virtualizer is usedsetUsingVirtualizer(boolean),
JRParameter.REPORT_VIRTUALIZERpublic void setPerPageBoundElements(boolean perPageBoundElements)
perPageBoundElements - the value of the flagisPerPageBoundElements()public boolean isPerPageBoundElements()
true iff fillers should keep per page bound element mapssetPerPageBoundElements(boolean)public void setPrintPage(JRPrintPage page)
page - the master print pagegetPrintPage()public JRPrintPage getPrintPage()
setPrintPage(JRPrintPage)public void setIgnorePagination(boolean ignorePagination)
ignorePagination - isIgnorePagination()public boolean isIgnorePagination()
setIgnorePagination(boolean),
JRParameter.IS_IGNORE_PAGINATION
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||