net.sf.jasperreports.engine.fill
public class JRTemplatePrintLine extends JRTemplatePrintGraphicElement implements JRPrintLine
JRPrintLine
that uses
a JRTemplateLine
instance to
store common attributes.template
Constructor and Description |
---|
JRTemplatePrintLine(JRTemplateLine line)
Creates a print line element.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
accept(PrintElementVisitor<T> visitor,
T arg)
Accepts a print element visitor.
|
byte |
getDirection()
Deprecated.
Replaced by
getDirectionValue() . |
LineDirectionEnum |
getDirectionValue()
Gets the line direction.
|
void |
setDirection(byte direction)
Deprecated.
Replaced by
setDirection(LineDirectionEnum) . |
void |
setDirection(LineDirectionEnum direction)
Sets the line direction.
|
getDefaultLineColor, getDefaultLineWidth, getFill, getFillValue, getLinePen, getOwnFill, getOwnFillValue, getOwnPen, getPen, setFill, setFill, setFill, setPen, setPen
getBackcolor, getDefaultStyleProvider, getForecolor, getHeight, getKey, getMode, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getParentProperties, getPropertiesMap, getStyle, getStyleNameReference, getTemplate, getWidth, getX, getY, hasProperties, setBackcolor, setForecolor, setHeight, setMode, setMode, setMode, setStyle, setTemplate, setWidth, setX, setY, updateElementTemplate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOwnPen, getPen, setFill, setFill, setFill, setPen, setPen
getHeight, getKey, getOrigin, getWidth, getX, getY, setHeight, setStyle, setWidth, setX, setY
getParentProperties, getPropertiesMap, hasProperties
getFill, getFillValue, getLinePen, getOwnFill, getOwnFillValue
getBackcolor, getForecolor, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, setBackcolor, setForecolor, setMode, setMode, setMode
getDefaultLineColor, getDefaultLineWidth
getDefaultStyleProvider, getStyle, getStyleNameReference
public JRTemplatePrintLine(JRTemplateLine line)
line
- the template line that the element will usepublic byte getDirection()
getDirectionValue()
.getDirection
in interface JRPrintLine
public void setDirection(byte direction)
setDirection(LineDirectionEnum)
.setDirection
in interface JRPrintLine
public LineDirectionEnum getDirectionValue()
JRPrintLine
getDirectionValue
in interface JRPrintLine
LineDirectionEnum
public void setDirection(LineDirectionEnum direction)
JRPrintLine
setDirection
in interface JRPrintLine
direction
- a value representing one of the line direction constants in LineDirectionEnum
public <T> void accept(PrintElementVisitor<T> visitor, T arg)
JRPrintElement
The element calls the method that corresponds to the element type on the visitor.
accept
in interface JRPrintElement
accept
in class JRTemplatePrintElement
T
- the type of the argument passed to the visit operationvisitor
- the visitor objectsarg
- the argument passed to the visit operation© 2001-2010 Jaspersoft Corporation www.jaspersoft.com