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)protectedFillListContents(ListContents listContents, JRFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FillListContentscreateClone()JRFillCloneablecreateClone(JRFillCloneFactory factory)Creates a working clone of itself.protected voidevaluateContents()protected voidfinalizeElementPositions()protected intgetActualContainerHeight()Returns the actual height of the element container.protected intgetContainerHeight()Returns the height of the element container.intgetHeight()protected intgetStretchHeight()booleanisSplitTypePreventInhibited(boolean isTopLevelCall)protected voidprepare(int availableHeight)protected voidrewind()protected voidstretchTo(int height)-
Methods inherited from class net.sf.jasperreports.engine.fill.JRFillElementContainer
_initElements, _prepareElements, _removeBlankElements, _setStretchHeight, addSubElements, buildConsolidatedStyle, calculateStretchHeight, collectConditionalStyle, evaluate, evaluateConditionalStyle, evaluateConditionalStyles, fillElements, getEvaluatedConditionalStyle, getFirstY, initConditionalStyles, initDeepElements, initElements, initFill, isCurrentOverflow, isCurrentOverflowAllowed, isLegacyElementStretchEnabled, moveBandBottomElements, prepareElements, prepareStretchHeight, removeBlankElements, resetElements, setElementOriginProvider, setStretchHeight, stretchElements, 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:JRFillElementContainerReturns the height of the element container.- Specified by:
getContainerHeightin classJRFillElementContainer- Returns:
- the height of the element container
-
getActualContainerHeight
protected int getActualContainerHeight()
Description copied from class:JRFillElementContainerReturns 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:
getActualContainerHeightin 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:JRFillCloneableCreates a working clone of itself.- Specified by:
createClonein interfaceJRFillCloneable- Overrides:
createClonein 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:
getStretchHeightin classJRFillElementContainer
-
rewind
protected void rewind() throws JRException- Overrides:
rewindin classJRFillElementContainer- Throws:
JRException
-
stretchTo
protected void stretchTo(int height)
-
finalizeElementPositions
protected void finalizeElementPositions()
-
isSplitTypePreventInhibited
public boolean isSplitTypePreventInhibited(boolean isTopLevelCall)
-
-