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
List contents fill element container.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Field Summary
Fields inherited from class net.sf.jasperreports.engine.fill.JRFillElementContainer
currentOverflowWithElements, currentOverflowWithWhiteSpace, deepElements, evaluatedStyles, expressionEvaluator, filler, hasPrintWhenOverflowElement, isOverflow, stylesToEvaluate, willOverflowWithElements, willOverflowWithWhiteSpaceFields inherited from class net.sf.jasperreports.engine.fill.JRFillElementGroup
bottomElementInGroup, children, elementGroup, elements, topElementInGroup -
Constructor Summary
ConstructorsModifierConstructorDescriptionFillListContents(FillListContents fillListContents, JRFillCloneFactory factory) protectedFillListContents(ListContents listContents, JRFillObjectFactory factory) -
Method Summary
Modifier and TypeMethodDescriptioncreateClone(JRFillCloneFactory factory) Creates a working clone of itself.protected voidprotected voidprotected intReturns the actual height of the element container.protected intReturns the height of the element container.intprotected intbooleanisSplitTypePreventInhibited(boolean isTopLevelCall) protected voidprepare(int availableHeight) protected voidrewind()protected voidstretchTo(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, willOverflowMethods inherited from class net.sf.jasperreports.engine.fill.JRFillElementGroup
clone, clone, getChildren, getElementByKey, getElementGroup, getElements, getStretchHeightDiff, reset, visit
-
Constructor Details
-
FillListContents
-
FillListContents
-
-
Method Details
-
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
- Throws:
JRException
-
prepare
- Throws:
JRException
-
createClone
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
-
getStretchHeight
protected int getStretchHeight()- Overrides:
getStretchHeightin classJRFillElementContainer
-
rewind
- Overrides:
rewindin classJRFillElementContainer- Throws:
JRException
-
stretchTo
protected void stretchTo(int height) -
finalizeElementPositions
protected void finalizeElementPositions() -
isSplitTypePreventInhibited
public boolean isSplitTypePreventInhibited(boolean isTopLevelCall)
-