Class FillListContents
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.JRFillElementGroup
-
- net.sf.jasperreports.engine.fill.JRFillElementContainer
-
- net.sf.jasperreports.components.list.FillListContents
-
- All Implemented Interfaces:
Cloneable
,FillContainerContext
,JRFillCloneable
,JRChild
,JRCloneable
,JRElementGroup
,JRVisitable
public class FillListContents extends JRFillElementContainer
List contents fill element container.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from class net.sf.jasperreports.engine.fill.JRFillElementContainer
atLeastOneElementIsToPrint, currentOverflowWithElements, currentOverflowWithWhiteSpace, deepElements, evaluatedStyles, expressionEvaluator, filler, hasPrintWhenOverflowElement, isOverflow, stylesToEvaluate, willOverflowWithElements, willOverflowWithWhiteSpace
-
Fields inherited from class net.sf.jasperreports.engine.fill.JRFillElementGroup
bottomElementInGroup, children, elementGroup, elements, topElementInGroup
-
-
Constructor Summary
Constructors Modifier Constructor Description FillListContents(FillListContents fillListContents, JRFillCloneFactory factory)
protected
FillListContents(ListContents listContents, JRFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FillListContents
createClone()
JRFillCloneable
createClone(JRFillCloneFactory factory)
Creates a working clone of itself.protected void
evaluateContents()
protected void
finalizeElementPositions()
protected int
getActualContainerHeight()
Returns the actual height of the element container.protected int
getContainerHeight()
Returns the height of the element container.int
getHeight()
protected int
getStretchHeight()
boolean
isSplitTypePreventInhibited(boolean isTopLevelCall)
protected void
prepare(int availableHeight)
protected void
rewind()
protected void
stretchTo(int height)
-
Methods inherited from class net.sf.jasperreports.engine.fill.JRFillElementContainer
addSubElements, buildConsolidatedStyle, calculateStretchHeight, collectConditionalStyle, evaluate, evaluateConditionalStyle, evaluateConditionalStyles, fillElements, getEvaluatedConditionalStyle, getFirstY, initConditionalStyles, initDeepElements, initElements, initFill, isCurrentOverflow, isCurrentOverflowAllowed, moveBandBottomElements, prepareElements, prepareStretchHeight, removeBlankElements, resetElements, setElementOriginProvider, setStretchHeight, stretchElementsToContainer, stretchElementsToElementGroup, willOverflow
-
Methods inherited from class net.sf.jasperreports.engine.fill.JRFillElementGroup
clone, clone, getChildren, getElementByKey, getElementGroup, getElements, getStretchHeightDiff, reset, visit
-
-
-
-
Constructor Detail
-
FillListContents
protected FillListContents(ListContents listContents, JRFillObjectFactory factory)
-
FillListContents
public FillListContents(FillListContents fillListContents, JRFillCloneFactory factory)
-
-
Method Detail
-
getHeight
public int getHeight()
-
getContainerHeight
protected int getContainerHeight()
Description copied from class:JRFillElementContainer
Returns the height of the element container.- Specified by:
getContainerHeight
in classJRFillElementContainer
- Returns:
- the height of the element container
-
getActualContainerHeight
protected int getActualContainerHeight()
Description copied from class:JRFillElementContainer
Returns the actual height of the element container. Some element containers such as frames have a larger calculated container height, resulting from content being placed beyond container declared height.- Specified by:
getActualContainerHeight
in classJRFillElementContainer
- Returns:
- the height of the element container
-
evaluateContents
protected void evaluateContents() throws JRException
- Throws:
JRException
-
prepare
protected void prepare(int availableHeight) throws JRException
- Throws:
JRException
-
createClone
public JRFillCloneable createClone(JRFillCloneFactory factory)
Description copied from interface:JRFillCloneable
Creates a working clone of itself.- Specified by:
createClone
in interfaceJRFillCloneable
- Overrides:
createClone
in classJRFillElementGroup
- Parameters:
factory
- the clone factory to use while creating the clone- Returns:
- a working clone of itself
-
createClone
public FillListContents createClone()
-
getStretchHeight
protected int getStretchHeight()
- Overrides:
getStretchHeight
in classJRFillElementContainer
-
rewind
protected void rewind() throws JRException
- Overrides:
rewind
in classJRFillElementContainer
- Throws:
JRException
-
stretchTo
protected void stretchTo(int height)
-
finalizeElementPositions
protected void finalizeElementPositions()
-
isSplitTypePreventInhibited
public boolean isSplitTypePreventInhibited(boolean isTopLevelCall)
-
-