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, setPengetBackcolor, 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, updateElementTemplateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOwnPen, getPen, setFill, setFill, setFill, setPen, setPengetHeight, getKey, getOrigin, getWidth, getX, getY, setHeight, setStyle, setWidth, setX, setYgetParentProperties, getPropertiesMap, hasPropertiesgetFill, getFillValue, getLinePen, getOwnFill, getOwnFillValuegetBackcolor, getForecolor, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, setBackcolor, setForecolor, setMode, setMode, setModegetDefaultLineColor, getDefaultLineWidthgetDefaultStyleProvider, getStyle, getStyleNameReferencepublic JRTemplatePrintLine(JRTemplateLine line)
line - the template line that the element will usepublic byte getDirection()
getDirectionValue().getDirection in interface JRPrintLinepublic void setDirection(byte direction)
setDirection(LineDirectionEnum).setDirection in interface JRPrintLinepublic LineDirectionEnum getDirectionValue()
JRPrintLinegetDirectionValue in interface JRPrintLineLineDirectionEnumpublic void setDirection(LineDirectionEnum direction)
JRPrintLinesetDirection in interface JRPrintLinedirection - a value representing one of the line direction constants in LineDirectionEnumpublic <T> void accept(PrintElementVisitor<T> visitor, T arg)
JRPrintElementThe element calls the method that corresponds to the element type on the visitor.
accept in interface JRPrintElementaccept in class JRTemplatePrintElementT - 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