net.sf.jasperreports.engine.fill
Class JRFillLine

java.lang.Object
  extended bynet.sf.jasperreports.engine.fill.JRFillElement
      extended bynet.sf.jasperreports.engine.fill.JRFillGraphicElement
          extended bynet.sf.jasperreports.engine.fill.JRFillLine
All Implemented Interfaces:
JRChild, JRElement, JRGraphicElement, JRLine

public class JRFillLine
extends JRFillGraphicElement
implements JRLine

Version:
$Id: JRFillLine.java,v 1.12 2005/07/20 17:05:51 teodord Exp $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Field Summary
 
Fields inherited from class net.sf.jasperreports.engine.fill.JRFillElement
band, elementGroup, filler, parent, printWhenGroupChanges, template
 
Fields inherited from interface net.sf.jasperreports.engine.JRLine
DIRECTION_BOTTOM_UP, DIRECTION_TOP_DOWN
 
Fields inherited from interface net.sf.jasperreports.engine.JRGraphicElement
FILL_SOLID, PEN_1_POINT, PEN_2_POINT, PEN_4_POINT, PEN_DOTTED, PEN_NONE, PEN_THIN
 
Fields inherited from interface net.sf.jasperreports.engine.JRElement
MODE_OPAQUE, MODE_TRANSPARENT, POSITION_TYPE_FIX_RELATIVE_TO_BOTTOM, POSITION_TYPE_FIX_RELATIVE_TO_TOP, POSITION_TYPE_FLOAT, STRETCH_TYPE_NO_STRETCH, STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT, STRETCH_TYPE_RELATIVE_TO_TALLEST_OBJECT
 
Constructor Summary
protected JRFillLine(JRBaseFiller filler, JRLine line, JRFillObjectFactory factory)
           
 
Method Summary
 void collectExpressions(JRExpressionCollector collector)
           
protected  void evaluate(byte evaluation)
           
protected  JRPrintElement fill()
           
 JRChild getCopy(JRAbstractObjectFactory factory)
           
 byte getDirection()
          Gets the line direction.
protected  JRTemplateLine getJRTemplateLine()
           
protected  void resolveElement(JRPrintElement element, byte evaluation)
          Resolves an element.
 void setDirection(byte direction)
          Sets the line direction.
 void writeXml(JRXmlWriter xmlWriter)
           
 
Methods inherited from class net.sf.jasperreports.engine.fill.JRFillGraphicElement
getFill, getPen, prepare, rewind, setFill, setPen
 
Methods inherited from class net.sf.jasperreports.engine.fill.JRFillElement
addDependantElement, evaluatePrintWhenExpression, getBackcolor, getBand, getBandBottomY, getDependantElements, getElementGroup, getForecolor, getGroupElements, getHeight, getKey, getMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getRelativeY, getStretchHeight, getStretchType, getWidth, getX, getY, isAlreadyPrinted, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isPrintWhenExpressionNull, isPrintWhenTrue, isRemoveLineWhenBlank, isReprinted, isToPrint, moveDependantElements, reset, setAlreadyPrinted, setBackcolor, setBand, setBandBottomY, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setPrintWhenExpressionNull, setPrintWhenTrue, setRelativeY, setRemoveLineWhenBlank, setReprinted, setStretchHeight, setStretchType, setToPrint, setWidth, setX, stretchElement
 
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.JRGraphicElement
getFill, getPen, setFill, setPen
 
Methods inherited from interface net.sf.jasperreports.engine.JRElement
getBackcolor, getElementGroup, getForecolor, getHeight, getKey, getMode, getPositionType, getPrintWhenExpression, getPrintWhenGroupChanges, getStretchType, getWidth, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX
 

Constructor Detail

JRFillLine

protected JRFillLine(JRBaseFiller filler,
                     JRLine line,
                     JRFillObjectFactory factory)
Method Detail

getDirection

public byte getDirection()
Description copied from interface: JRLine
Gets the line direction.

Specified by:
getDirection in interface JRLine
Returns:
one of the direction constants

setDirection

public void setDirection(byte direction)
Description copied from interface: JRLine
Sets the line direction.

Specified by:
setDirection in interface JRLine
Parameters:
direction - one of the direction constants

getJRTemplateLine

protected JRTemplateLine getJRTemplateLine()

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)
Specified by:
writeXml in interface JRChild

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 element
evaluation - the evaluation type


© 2001-2005 JasperSoft Corporation www.jaspersoft.com