net.sf.jasperreports.engine.fill
Class JRTemplatePrintLine

java.lang.Object
  extended by net.sf.jasperreports.engine.fill.JRTemplatePrintElement
      extended by net.sf.jasperreports.engine.fill.JRTemplatePrintGraphicElement
          extended by net.sf.jasperreports.engine.fill.JRTemplatePrintLine
All Implemented Interfaces:
java.io.Serializable, JRCommonElement, JRCommonGraphicElement, JRPenContainer, JRPrintElement, JRPrintGraphicElement, JRPrintLine, JRPropertiesHolder, JRStyleContainer

public class JRTemplatePrintLine
extends JRTemplatePrintGraphicElement
implements JRPrintLine

Implementation of JRPrintLine that uses a JRTemplateLine instance to store common attributes.

Version:
$Id: JRTemplatePrintLine.java 3034 2009-08-27 11:58:04Z teodord $
Author:
Teodor Danciu (teodord@users.sourceforge.net)
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sf.jasperreports.engine.fill.JRTemplatePrintElement
template
 
Constructor Summary
JRTemplatePrintLine(JRTemplateLine line)
          Creates a print line element.
 
Method Summary
 byte getDirection()
           
 void setDirection(byte direction)
           
 
Methods inherited from class net.sf.jasperreports.engine.fill.JRTemplatePrintGraphicElement
getDefaultLineColor, getDefaultLineWidth, getFill, getLinePen, getOwnFill, getOwnPen, getPen, setFill, setFill, setPen, setPen
 
Methods inherited from class net.sf.jasperreports.engine.fill.JRTemplatePrintElement
getBackcolor, getDefaultStyleProvider, getForecolor, getHeight, getKey, getMode, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnMode, getParentProperties, getPropertiesMap, getStyle, getStyleNameReference, getTemplate, getWidth, getX, getY, hasProperties, setBackcolor, setForecolor, setHeight, setMode, setMode, setStyle, setTemplate, setWidth, setX, setY, updateElementTemplate
 
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.JRPrintGraphicElement
getOwnPen, getPen, setFill, setFill, setPen, setPen
 
Methods inherited from interface net.sf.jasperreports.engine.JRPrintElement
getHeight, getKey, getOrigin, getWidth, getX, getY, setBackcolor, setForecolor, setHeight, setMode, setMode, setStyle, setWidth, setX, setY
 
Methods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder
getParentProperties, getPropertiesMap, hasProperties
 
Methods inherited from interface net.sf.jasperreports.engine.JRCommonGraphicElement
getFill, getLinePen, getOwnFill
 
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement
getBackcolor, getForecolor, getMode, getOwnBackcolor, getOwnForecolor, getOwnMode
 
Methods inherited from interface net.sf.jasperreports.engine.JRPenContainer
getDefaultLineColor, getDefaultLineWidth
 
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer
getDefaultStyleProvider, getStyle, getStyleNameReference
 

Constructor Detail

JRTemplatePrintLine

public JRTemplatePrintLine(JRTemplateLine line)
Creates a print line element.

Parameters:
line - the template line that the element will use
Method Detail

getDirection

public byte getDirection()
Specified by:
getDirection in interface JRPrintLine

setDirection

public void setDirection(byte direction)
Specified by:
setDirection in interface JRPrintLine


© 2001-2009 Jaspersoft Corporation www.jaspersoft.com