Package net.sf.jasperreports.engine.base
Class ElementsBlockList
- java.lang.Object
-
- net.sf.jasperreports.engine.base.ElementsBlockList
-
- All Implemented Interfaces:
Serializable
,ElementStore
,VirtualizablePageElements
public class ElementsBlockList extends Object implements ElementStore, 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 boolean
add(int index, JRPrintElement element)
boolean
add(JRPrintElement element)
protected void
addBlock()
void
addBlock(ElementsBlock block)
protected int
blockIndex(int index)
int
deepSize()
void
dispose()
JRPrintElement
get(int index)
ElementsBlock[]
getBlocks()
JRVirtualPrintPage
getPage()
protected void
incrementBlocks()
JRPrintElement
remove(int index)
JRPrintElement
set(int index, JRPrintElement element)
int
size()
void
transferElements(Consumer<JRPrintElement> consumer)
void
updateContext(JRVirtualizationContext context, JRVirtualPrintPage page)
void
updatePage(JRVirtualPrintPage page)
-
-
-
Constructor Detail
-
ElementsBlockList
public ElementsBlockList(ElementsBlock block)
-
-
Method Detail
-
updatePage
public void updatePage(JRVirtualPrintPage page)
- Specified by:
updatePage
in interfaceElementStore
-
updateContext
public void updateContext(JRVirtualizationContext context, JRVirtualPrintPage page)
- Specified by:
updateContext
in 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:
size
in interfaceElementStore
-
deepSize
public int deepSize()
- Specified by:
deepSize
in interfaceElementStore
-
get
public JRPrintElement get(int index)
- Specified by:
get
in interfaceElementStore
-
add
public boolean add(JRPrintElement element)
- Specified by:
add
in interfaceElementStore
-
add
public boolean add(int index, JRPrintElement element)
- Specified by:
add
in interfaceElementStore
-
set
public JRPrintElement set(int index, JRPrintElement element)
- Specified by:
set
in interfaceElementStore
-
remove
public JRPrintElement remove(int index)
- Specified by:
remove
in interfaceElementStore
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceElementStore
-
blockIndex
protected int blockIndex(int index)
-
getPage
public JRVirtualPrintPage getPage()
- Specified by:
getPage
in interfaceVirtualizablePageElements
-
transferElements
public void transferElements(Consumer<JRPrintElement> consumer)
- Specified by:
transferElements
in interfaceElementStore
-
-