dori.jasper.engine.fill
Class JRFillElement
java.lang.Object
dori.jasper.engine.fill.JRFillElement
- All Implemented Interfaces:
- JRElement
- Direct Known Subclasses:
- JRFillGraphicElement, JRFillSubreport, JRFillTextElement
- public abstract class JRFillElement
- extends java.lang.Object
- implements JRElement
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parent
protected JRElement parent
template
protected JRTemplateElement template
filler
protected JRBaseFiller filler
printWhenGroupChanges
protected JRGroup printWhenGroupChanges
elementGroup
protected JRFillElementGroup elementGroup
band
protected JRFillBand band
JRFillElement
protected JRFillElement(JRBaseFiller filler,
JRElement element,
JRFillObjectFactory factory)
- private JRElement topElementInGroup = null;
private JRElement bottomElementInGroup = null;
/**
getKey
public java.lang.String getKey()
- Specified by:
getKey
in interface JRElement
getPositionType
public byte getPositionType()
- Specified by:
getPositionType
in interface JRElement
setPositionType
public void setPositionType(byte positionType)
- Specified by:
setPositionType
in interface JRElement
getStretchType
public byte getStretchType()
- Specified by:
getStretchType
in interface JRElement
setStretchType
public void setStretchType(byte stretchType)
- Specified by:
setStretchType
in interface JRElement
isPrintRepeatedValues
public boolean isPrintRepeatedValues()
- Specified by:
isPrintRepeatedValues
in interface JRElement
setPrintRepeatedValues
public void setPrintRepeatedValues(boolean isPrintRepeatedValues)
- Specified by:
setPrintRepeatedValues
in interface JRElement
getMode
public byte getMode()
- Specified by:
getMode
in interface JRElement
setMode
public void setMode(byte mode)
- Specified by:
setMode
in interface JRElement
getX
public int getX()
- Specified by:
getX
in interface JRElement
setX
public void setX(int x)
- Specified by:
setX
in interface JRElement
getY
public int getY()
- Specified by:
getY
in interface JRElement
getWidth
public int getWidth()
- Specified by:
getWidth
in interface JRElement
setWidth
public void setWidth(int width)
- Specified by:
setWidth
in interface JRElement
getHeight
public int getHeight()
- Specified by:
getHeight
in interface JRElement
isRemoveLineWhenBlank
public boolean isRemoveLineWhenBlank()
- Specified by:
isRemoveLineWhenBlank
in interface JRElement
setRemoveLineWhenBlank
public void setRemoveLineWhenBlank(boolean isRemoveLine)
- Specified by:
setRemoveLineWhenBlank
in interface JRElement
isPrintInFirstWholeBand
public boolean isPrintInFirstWholeBand()
- Specified by:
isPrintInFirstWholeBand
in interface JRElement
setPrintInFirstWholeBand
public void setPrintInFirstWholeBand(boolean isPrint)
- Specified by:
setPrintInFirstWholeBand
in interface JRElement
isPrintWhenDetailOverflows
public boolean isPrintWhenDetailOverflows()
- Specified by:
isPrintWhenDetailOverflows
in interface JRElement
setPrintWhenDetailOverflows
public void setPrintWhenDetailOverflows(boolean isPrint)
- Specified by:
setPrintWhenDetailOverflows
in interface JRElement
getForecolor
public java.awt.Color getForecolor()
- Specified by:
getForecolor
in interface JRElement
setForecolor
public void setForecolor(java.awt.Color forecolor)
- Specified by:
setForecolor
in interface JRElement
getBackcolor
public java.awt.Color getBackcolor()
- Specified by:
getBackcolor
in interface JRElement
setBackcolor
public void setBackcolor(java.awt.Color backcolor)
- Specified by:
setBackcolor
in interface JRElement
getPrintWhenExpression
public JRExpression getPrintWhenExpression()
- Specified by:
getPrintWhenExpression
in interface JRElement
getPrintWhenGroupChanges
public JRGroup getPrintWhenGroupChanges()
- Specified by:
getPrintWhenGroupChanges
in interface JRElement
getElementGroup
public JRElementGroup getElementGroup()
- Specified by:
getElementGroup
in interface JRElement
isPrintWhenExpressionNull
protected boolean isPrintWhenExpressionNull()
setPrintWhenExpressionNull
protected void setPrintWhenExpressionNull(boolean isPrintWhenExpressionNull)
isPrintWhenTrue
protected boolean isPrintWhenTrue()
setPrintWhenTrue
protected void setPrintWhenTrue(boolean isPrintWhenTrue)
isToPrint
protected boolean isToPrint()
setToPrint
protected void setToPrint(boolean isToPrint)
isReprinted
protected boolean isReprinted()
setReprinted
protected void setReprinted(boolean isReprinted)
isAlreadyPrinted
protected boolean isAlreadyPrinted()
setAlreadyPrinted
protected void setAlreadyPrinted(boolean isAlreadyPrinted)
getGroupElements
protected JRElement[] getGroupElements()
getDependantElements
protected java.util.Collection getDependantElements()
- protected void setGroupElements(Collection groupElements)
{
this.groupElements = groupElements;
}
/**
protected void addGroupElement(JRFElement element)
{
this.groupElements.add(element);
}
/**
addDependantElement
protected void addDependantElement(JRElement element)
getRelativeY
protected int getRelativeY()
setRelativeY
protected void setRelativeY(int relativeY)
getStretchHeight
protected int getStretchHeight()
setStretchHeight
protected void setStretchHeight(int stretchHeight)
getBandBottomY
protected int getBandBottomY()
setBandBottomY
protected void setBandBottomY(int bandBottomY)
getBand
protected JRFillBand getBand()
setBand
protected void setBand(JRFillBand band)
reset
protected void reset()
evaluate
protected abstract void evaluate(byte evaluation)
throws JRException
- Throws:
JRException
evaluatePrintWhenExpression
protected void evaluatePrintWhenExpression(byte evaluation)
throws JRException
- Throws:
JRException
rewind
protected abstract void rewind()
throws JRException
- Throws:
JRException
fill
protected abstract JRPrintElement fill()
throws JRException
- Throws:
JRException
prepare
protected boolean prepare(int availableStretchHeight,
boolean isOverflow)
throws JRException
- Throws:
JRException
stretchElement
protected void stretchElement(int bandStretch)
throws JRException
- Throws:
JRException
moveDependantElements
protected void moveDependantElements()
throws JRException
- Throws:
JRException
Copyright © 2001-2004 Teodor Danciu. All Rights Reserved.