net.sf.jasperreports.engine.fill
Class JRFillBreak
java.lang.Object
net.sf.jasperreports.engine.fill.JRFillElement
net.sf.jasperreports.engine.fill.JRFillBreak
- All Implemented Interfaces:
- JRCloneable, JRBreak, JRChild, JRElement, JRStyleContainer
public class JRFillBreak
- extends JRFillElement
- implements JRBreak
- Version:
- $Id: JRFillLine.java 1357 2006-08-10 12:36:24 +0300 (Thu, 10 Aug 2006) lucianc $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
Fields inherited from class net.sf.jasperreports.engine.fill.JRFillElement |
band, conditionalStylesContainer, currentEvaluation, delayedEvaluationsMap, elementGroup, expressionEvaluator, filler, initStyle, parent, printWhenGroupChanges, templates |
Methods inherited from class net.sf.jasperreports.engine.fill.JRFillElement |
addDependantElement, collectDelayedEvaluations, collectDelayedEvaluations, delayedEvaluate, evaluateExpression, evaluatePrintWhenExpression, getBackcolor, getBand, getBandBottomY, getDefaultStyleProvider, getDependantElements, getElementGroup, getEvaluationTime, getField, getForecolor, getGroupElements, getHeight, getKey, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getRelativeY, getStretchHeight, getStretchType, getStyle, getTemplate, getVariable, getX, getY, initDelayedEvaluationPrint, initDelayedEvaluations, isAlreadyPrinted, isAutoEvaluateNow, isEvaluateAuto, isEvaluateNow, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isPrintWhenExpressionNull, isPrintWhenTrue, isRemoveLineWhenBlank, isReprinted, isToPrint, isValueRepeating, moveDependantElements, registerTemplate, reset, resolveElement, setAlreadyPrinted, setBackcolor, setBand, setBandBottomY, setConditionalStylesContainer, setCurrentEvaluation, setForecolor, setHeight, setMode, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setPrintWhenExpressionNull, setPrintWhenTrue, setRelativeY, setRemoveLineWhenBlank, setReprinted, setShrinkable, setStretchHeight, setStretchType, setToPrint, setValueRepeating, setWidth, setX, setY, stretchElement, stretchHeightFinal |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.jasperreports.engine.JRElement |
getBackcolor, getElementGroup, getForecolor, getHeight, getKey, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX |
JRFillBreak
protected JRFillBreak(JRBaseFiller filler,
JRBreak breakElement,
JRFillObjectFactory factory)
JRFillBreak
protected JRFillBreak(JRFillBreak breakElement,
JRFillCloneFactory factory)
getWidth
public int getWidth()
- Specified by:
getWidth
in interface JRElement
- Overrides:
getWidth
in class JRFillElement
getType
public byte getType()
- Description copied from interface:
JRBreak
- Gets the break type.
- Specified by:
getType
in interface JRBreak
- Returns:
- one of the type constants
setType
public void setType(byte type)
- Description copied from interface:
JRBreak
- Sets the break type.
- Specified by:
setType
in interface JRBreak
- Parameters:
type
- one of the type constants
evaluate
protected void evaluate(byte evaluation)
throws JRException
- Specified by:
evaluate
in class JRFillElement
- Throws:
JRException
fill
protected JRPrintElement fill()
- Specified by:
fill
in class JRFillElement
getCopy
public JRChild getCopy(JRAbstractObjectFactory factory)
- Specified by:
getCopy
in interface JRChild
collectExpressions
public void collectExpressions(JRExpressionCollector collector)
- Specified by:
collectExpressions
in interface JRElement
writeXml
public void writeXml(JRXmlWriter xmlWriter)
throws java.io.IOException
- Specified by:
writeXml
in interface JRChild
- Throws:
java.io.IOException
resolveElement
protected void resolveElement(JRPrintElement element,
byte evaluation)
- Description copied from class:
JRFillElement
- Resolves an element.
- Specified by:
resolveElement
in class JRFillElement
- Parameters:
element
- the elementevaluation
- the evaluation type
createClone
public JRCloneable createClone(JRFillCloneFactory factory)
- Description copied from interface:
JRCloneable
- Creates a working clone of itself.
- Specified by:
createClone
in interface JRCloneable
- Parameters:
factory
- the clone factory to use while creating the clone
- Returns:
- a working clone of itself
rewind
public void rewind()
- Specified by:
rewind
in class JRFillElement
prepare
protected boolean prepare(int availableStretchHeight,
boolean isOverflow)
throws JRException
- Overrides:
prepare
in class JRFillElement
- Throws:
JRException
© 2001-2006 JasperSoft Corporation www.jaspersoft.com