public class JRTemplateLine extends JRTemplateGraphicElement
JRTemplatePrintLine
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected LineDirectionEnum |
directionValue |
linePen
defaultStyleProvider, origin, parentStyle
Modifier | Constructor and Description |
---|---|
|
JRTemplateLine(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider)
Creates a template line.
|
protected |
JRTemplateLine(JROrigin origin,
JRDefaultStyleProvider defaultStyleProvider,
JRLine line) |
Modifier and Type | Method and Description |
---|---|
byte |
getDirection()
Deprecated.
Replaced by
getDirectionValue() . |
LineDirectionEnum |
getDirectionValue() |
void |
setDirection(byte direction)
Deprecated.
Replaced by
setDirection(LineDirectionEnum) . |
void |
setDirection(LineDirectionEnum directionValue) |
protected void |
setLine(JRLine line) |
copyLinePen, getDefaultLineColor, getDefaultLineWidth, getFill, getFillValue, getLinePen, getOwnFill, getOwnFillValue, getOwnPen, getPen, setFill, setFill, setFill, setGraphicElement, setPen, setPen
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBackcolor, getForecolor, getHeight, getKey, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
protected LineDirectionEnum directionValue
protected JRTemplateLine(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider, JRLine line)
public JRTemplateLine(JROrigin origin, JRDefaultStyleProvider defaultStyleProvider)
origin
- the origin of the elements that will use this templatedefaultStyleProvider
- the default style provider to use for
this templateprotected void setLine(JRLine line)
public byte getDirection()
getDirectionValue()
.public void setDirection(byte direction)
setDirection(LineDirectionEnum)
.public LineDirectionEnum getDirectionValue()
public void setDirection(LineDirectionEnum directionValue)
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com