Package net.sf.jasperreports.engine.fill
Class DelayedFillActions
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.DelayedFillActions
-
- All Implemented Interfaces:
VirtualizationListener<VirtualElementsData>
public class DelayedFillActions extends Object implements VirtualizationListener<VirtualElementsData>
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_ELEMENT_NOT_FOUND
protected static String
FILL_CACHE_KEY_ID
-
Constructor Summary
Constructors Constructor Description DelayedFillActions(BaseReportFiller reportFiller)
-
Method Summary
-
-
-
Field Detail
-
FILL_CACHE_KEY_ID
protected static final String FILL_CACHE_KEY_ID
-
EXCEPTION_MESSAGE_KEY_ELEMENT_NOT_FOUND
public static final String EXCEPTION_MESSAGE_KEY_ELEMENT_NOT_FOUND
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DelayedFillActions
public DelayedFillActions(BaseReportFiller reportFiller)
-
-
Method Detail
-
getId
public int getId()
-
createDelayedEvaluationTime
public void createDelayedEvaluationTime(JREvaluationTime evaluationTime)
-
registerPage
protected void registerPage(JRPrintPage page)
-
dispose
public void dispose()
-
addDelayedAction
public void addDelayedAction(JRFillElement element, JRPrintElement printElement, JREvaluationTime evaluationTime, FillPageKey pageKey)
-
registerFillElement
protected void registerFillElement(JRFillElement element, JREvaluationTime evaluationTime)
-
registerTransferredId
protected void registerTransferredId(int sourceId)
-
addDelayedAction
public void addDelayedAction(Object actionKey, EvaluationBoundAction action, JREvaluationTime evaluationTime, FillPageKey pageKey)
-
pageActionsMap
protected LinkedMap<Object,EvaluationBoundAction> pageActionsMap(LinkedHashMap<FillPageKey,LinkedMap<Object,EvaluationBoundAction>> map, FillPageKey pageKey)
-
runActions
public void runActions(JREvaluationTime evaluationTime, byte evaluation) throws JRException
- Throws:
JRException
-
hasDelayedActions
public boolean hasDelayedActions(JRPrintPage page)
-
hasMasterDelayedActions
protected boolean hasMasterDelayedActions(JRPrintPage page)
-
moveActions
public void moveActions(FillPageKey fromKey, FillPageKey toKey)
-
beforeExternalization
public void beforeExternalization(JRVirtualizable<VirtualElementsData> object)
Description copied from interface:VirtualizationListener
Called before an object's data is externalized.- Specified by:
beforeExternalization
in interfaceVirtualizationListener<VirtualElementsData>
- See Also:
JRVirtualizable.beforeExternalization()
-
writeElementEvaluations
protected void writeElementEvaluations(JRVirtualizable<VirtualElementsData> object)
-
afterInternalization
public void afterInternalization(JRVirtualizable<VirtualElementsData> object)
Description copied from interface:VirtualizationListener
Called after an object's data was made available to the object.- Specified by:
afterInternalization
in interfaceVirtualizationListener<VirtualElementsData>
- See Also:
JRVirtualizable.afterInternalization()
-
readElementEvaluations
protected void readElementEvaluations(JRVirtualizable<VirtualElementsData> object)
-
readElementEvaluations
protected void readElementEvaluations(JRVirtualizable<VirtualElementsData> object, int sourceId, JREvaluationTime evaluationTime, LinkedMap<Object,EvaluationBoundAction> actionsMap)
-
moveMasterEvaluations
public void moveMasterEvaluations(DelayedFillActions sourceActions, JRPrintPage page, int pageIndex)
-
moveMasterEvaluations
public void moveMasterEvaluations(DelayedFillActions sourceActions, FillPageKey pageKey)
-
moveMasterEvaluations
protected void moveMasterEvaluations(DelayedFillActions sourceActions, FillPageKey sourcePageKey, FillPageKey destinationPageKey)
-
moveMasterActions
protected void moveMasterActions(LinkedMap<Object,EvaluationBoundAction> sourceActions, FillPageKey destinationPageKey)
-
actionMoved
protected void actionMoved(EvaluationBoundAction action)
-
collectElementEvaluations
public void collectElementEvaluations(JRPrintPage page, List<JRPrintElement> elements, ElementEvaluationsCollector collector)
-
doCollectElementEvaluations
protected void doCollectElementEvaluations(JRPrintPage page, List<JRPrintElement> elements, ElementEvaluationsCollector collector, boolean clearEmpty)
-
addElementEvaluations
public void addElementEvaluations(JRPrintPage page, int pageIndex, ElementEvaluationsSource source)
-
-