|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.jasperreports.engine.fill.JRTemplatePrintElement net.sf.jasperreports.engine.fill.JRTemplatePrintGraphicElement net.sf.jasperreports.engine.fill.JRTemplatePrintLine
public class JRTemplatePrintLine
Implementation of JRPrintLine
that uses
a JRTemplateLine
instance to
store common attributes.
Field Summary |
---|
Fields inherited from class net.sf.jasperreports.engine.fill.JRTemplatePrintElement |
---|
template |
Fields inherited from interface net.sf.jasperreports.engine.JRPrintElement |
---|
UNSET_SOURCE_ELEMENT_ID |
Constructor Summary | |
---|---|
JRTemplatePrintLine(JRTemplateLine line)
Deprecated. provide a source Id via JRTemplatePrintLine(JRTemplateLine, int) |
|
JRTemplatePrintLine(JRTemplateLine line,
int sourceElementId)
Creates a print line element. |
Method Summary | ||
---|---|---|
|
accept(PrintElementVisitor<T> visitor,
T arg)
Accepts a print element visitor. |
|
LineDirectionEnum |
getDirectionValue()
Gets the line direction. |
|
void |
setDirection(LineDirectionEnum direction)
Sets the line direction. |
Methods inherited from class net.sf.jasperreports.engine.fill.JRTemplatePrintGraphicElement |
---|
getDefaultLineColor, getDefaultLineWidth, getFillValue, getLinePen, getOwnFillValue, setFill |
Methods inherited from class net.sf.jasperreports.engine.fill.JRTemplatePrintElement |
---|
getBackcolor, getDefaultStyleProvider, getForecolor, getHeight, getKey, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPropertiesMap, getSourceElementId, getStyle, getStyleNameReference, getTemplate, getUUID, getWidth, getX, getY, hasProperties, setBackcolor, setForecolor, setHeight, setMode, setSourceElementId, setStyle, setTemplate, setWidth, setX, setY, updateElementTemplate |
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.JRPrintGraphicElement |
---|
setFill |
Methods inherited from interface net.sf.jasperreports.engine.JRPrintElement |
---|
getHeight, getKey, getOrigin, getSourceElementId, getWidth, getX, getY, setHeight, setStyle, setWidth, setX, setY |
Methods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder |
---|
getParentProperties, getPropertiesMap, hasProperties |
Methods inherited from interface net.sf.jasperreports.engine.JRCommonGraphicElement |
---|
getFillValue, getLinePen, getOwnFillValue |
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement |
---|
getBackcolor, getForecolor, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, setBackcolor, setForecolor, setMode |
Methods inherited from interface net.sf.jasperreports.engine.JRIdentifiable |
---|
getUUID |
Methods inherited from interface net.sf.jasperreports.engine.JRPenContainer |
---|
getDefaultLineColor, getDefaultLineWidth |
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
---|
getDefaultStyleProvider, getStyle, getStyleNameReference |
Constructor Detail |
---|
public JRTemplatePrintLine(JRTemplateLine line)
JRTemplatePrintLine(JRTemplateLine, int)
line
- the template line that the element will usepublic JRTemplatePrintLine(JRTemplateLine line, int sourceElementId)
line
- the template line that the element will usesourceElementId
- the Id of the source elementMethod Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |