net.sf.jasperreports.engine.fill
Class JRTemplateLine
java.lang.Object
net.sf.jasperreports.engine.fill.JRTemplateElement
net.sf.jasperreports.engine.fill.JRTemplateGraphicElement
net.sf.jasperreports.engine.fill.JRTemplateLine
- All Implemented Interfaces:
- java.io.Serializable, JRCommonElement, JRCommonGraphicElement, JRPenContainer, JRPropertiesHolder, JRStyleContainer
public class JRTemplateLine
- extends JRTemplateGraphicElement
Line element information shared by multiple print line objects.
- Version:
- $Id: JRTemplateLine.java 3715 2010-04-08 18:08:49Z teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
JRTemplatePrintLine
,
Serialized Form
Methods inherited from class net.sf.jasperreports.engine.fill.JRTemplateGraphicElement |
copyLinePen, getDefaultLineColor, getDefaultLineWidth, getFill, getFillValue, getLinePen, getOwnFill, getOwnFillValue, getOwnPen, getPen, setFill, setFill, setFill, setGraphicElement, setPen, setPen |
Methods inherited from class net.sf.jasperreports.engine.fill.JRTemplateElement |
getBackcolor, getBaseStyle, getDefaultStyleProvider, getForecolor, getHeight, getId, getKey, getMode, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getParentProperties, getPropertiesMap, getStyle, getStyleNameReference, getWidth, hasProperties, setBackcolor, setElement, setForecolor, setKey, setMode, setMode, setMode, setStyle |
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.JRCommonElement |
getBackcolor, getForecolor, getHeight, getKey, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode |
directionValue
protected LineDirectionEnum directionValue
JRTemplateLine
protected JRTemplateLine(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider,
JRLine line)
JRTemplateLine
public JRTemplateLine(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider)
- Creates a template line.
- Parameters:
origin
- the origin of the elements that will use this templatedefaultStyleProvider
- the default style provider to use for
this template
setLine
protected void setLine(JRLine line)
getDirection
public byte getDirection()
- Deprecated. Replaced by
getDirectionValue()
.
setDirection
public void setDirection(byte direction)
- Deprecated. Replaced by
setDirection(LineDirectionEnum)
.
getDirectionValue
public LineDirectionEnum getDirectionValue()
setDirection
public void setDirection(LineDirectionEnum directionValue)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com