|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.base.JRBasePrintElement
net.sf.jasperreports.engine.base.JRBasePrintGraphicElement
net.sf.jasperreports.engine.base.JRBasePrintLine
public class JRBasePrintLine
Field Summary | |
---|---|
protected LineDirectionEnum |
directionValue
|
Fields inherited from class net.sf.jasperreports.engine.base.JRBasePrintGraphicElement |
---|
fillValue, linePen |
Fields inherited from class net.sf.jasperreports.engine.base.JRBasePrintElement |
---|
backcolor, defaultStyleProvider, forecolor, height, key, modeValue, origin, style, width, x, y |
Constructor Summary | |
---|---|
JRBasePrintLine(JRDefaultStyleProvider defaultStyleProvider)
|
Method Summary | ||
---|---|---|
|
accept(PrintElementVisitor<T> visitor,
T arg)
Accepts a print element visitor. |
|
LineDirectionEnum |
getDirectionValue()
Gets the line direction. |
|
void |
setDirection(LineDirectionEnum directionValue)
Sets the line direction. |
|
void |
setHeight(int height)
|
|
void |
setWidth(int width)
|
Methods inherited from class net.sf.jasperreports.engine.base.JRBasePrintGraphicElement |
---|
copyPen, getDefaultLineColor, getDefaultLineWidth, getFillValue, getLinePen, getOwnFillValue, setFill |
Methods inherited from class net.sf.jasperreports.engine.base.JRBasePrintElement |
---|
getBackcolor, getDefaultStyleProvider, getForecolor, getHeight, getKey, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPropertiesMap, getStyle, getStyleNameReference, getWidth, getX, getY, hasProperties, setBackcolor, setForecolor, setKey, setMode, setOrigin, setStyle, setX, setY |
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, getWidth, getX, getY, setStyle, 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.JRPenContainer |
---|
getDefaultLineColor, getDefaultLineWidth |
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
---|
getDefaultStyleProvider, getStyle, getStyleNameReference |
Field Detail |
---|
protected LineDirectionEnum directionValue
Constructor Detail |
---|
public JRBasePrintLine(JRDefaultStyleProvider defaultStyleProvider)
Method Detail |
---|
public void setWidth(int width)
setWidth
in interface JRPrintElement
setWidth
in class JRBasePrintElement
public void setHeight(int height)
setHeight
in interface JRPrintElement
setHeight
in class JRBasePrintElement
public LineDirectionEnum getDirectionValue()
JRPrintLine
getDirectionValue
in interface JRPrintLine
LineDirectionEnum
public void setDirection(LineDirectionEnum directionValue)
JRPrintLine
setDirection
in interface JRPrintLine
directionValue
- 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 JRBasePrintElement
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 |