public class JRBasePrintLine extends JRBasePrintGraphicElement implements JRPrintLine
| Modifier and Type | Field and Description |
|---|---|
protected LineDirectionEnum |
directionValue |
fillValue, linePen| Constructor and Description |
|---|
JRBasePrintLine(JRDefaultStyleProvider defaultStyleProvider) |
| 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 directionValue)
Sets the line direction.
|
void |
setHeight(int height) |
void |
setWidth(int width) |
copyPen, 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, getWidth, getX, getY, hasProperties, setBackcolor, setForecolor, setKey, setMode, setMode, setMode, setOrigin, setStyle, setX, setYclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOwnPen, getPen, setFill, setFill, setFill, setPen, setPengetHeight, getKey, getOrigin, getWidth, getX, getY, setStyle, setX, setYgetParentProperties, getPropertiesMap, hasPropertiesgetFill, getFillValue, getLinePen, getOwnFill, getOwnFillValuegetBackcolor, getForecolor, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, setBackcolor, setForecolor, setMode, setMode, setModegetDefaultLineColor, getDefaultLineWidthgetDefaultStyleProvider, getStyle, getStyleNameReferenceprotected LineDirectionEnum directionValue
public JRBasePrintLine(JRDefaultStyleProvider defaultStyleProvider)
public void setWidth(int width)
setWidth in interface JRPrintElementsetWidth in class JRBasePrintElementpublic void setHeight(int height)
setHeight in interface JRPrintElementsetHeight in class JRBasePrintElementpublic 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 directionValue)
JRPrintLinesetDirection in interface JRPrintLinedirectionValue - 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 JRBasePrintElementT - 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