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 |
---|---|
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
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com