Package net.sf.jasperreports.engine.base
Class ElementsBlockList
- java.lang.Object
-
- net.sf.jasperreports.engine.base.ElementsBlockList
-
- All Implemented Interfaces:
java.io.Serializable,ElementStore,VirtualizablePageElements
public class ElementsBlockList extends java.lang.Object implements ElementStore, java.io.Serializable
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ElementsBlockList(ElementsBlock block)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(int index, JRPrintElement element)booleanadd(JRPrintElement element)protected voidaddBlock()voidaddBlock(ElementsBlock block)protected intblockIndex(int index)voiddispose()JRPrintElementget(int index)ElementsBlock[]getBlocks()JRVirtualPrintPagegetPage()protected voidincrementBlocks()JRPrintElementremove(int index)JRPrintElementset(int index, JRPrintElement element)intsize()voidtransferElements(java.util.function.Consumer<JRPrintElement> consumer)voidupdateContext(JRVirtualizationContext context, JRVirtualPrintPage page)voidupdatePage(JRVirtualPrintPage page)
-
-
-
Constructor Detail
-
ElementsBlockList
public ElementsBlockList(ElementsBlock block)
-
-
Method Detail
-
updatePage
public void updatePage(JRVirtualPrintPage page)
- Specified by:
updatePagein interfaceElementStore
-
updateContext
public void updateContext(JRVirtualizationContext context, JRVirtualPrintPage page)
- Specified by:
updateContextin interfaceElementStore
-
addBlock
public void addBlock(ElementsBlock block)
-
addBlock
protected void addBlock()
-
incrementBlocks
protected void incrementBlocks()
-
getBlocks
public ElementsBlock[] getBlocks()
-
size
public int size()
- Specified by:
sizein interfaceElementStore
-
get
public JRPrintElement get(int index)
- Specified by:
getin interfaceElementStore
-
add
public boolean add(JRPrintElement element)
- Specified by:
addin interfaceElementStore
-
add
public boolean add(int index, JRPrintElement element)- Specified by:
addin interfaceElementStore
-
set
public JRPrintElement set(int index, JRPrintElement element)
- Specified by:
setin interfaceElementStore
-
remove
public JRPrintElement remove(int index)
- Specified by:
removein interfaceElementStore
-
dispose
public void dispose()
- Specified by:
disposein interfaceElementStore
-
blockIndex
protected int blockIndex(int index)
-
getPage
public JRVirtualPrintPage getPage()
- Specified by:
getPagein interfaceVirtualizablePageElements
-
transferElements
public void transferElements(java.util.function.Consumer<JRPrintElement> consumer)
- Specified by:
transferElementsin interfaceElementStore
-
-