public class JRBasePrintLine extends JRBasePrintGraphicElement implements JRPrintLine
Modifier and Type | Field and Description |
---|---|
protected LineDirectionEnum |
directionValue |
fillValue, linePen
backcolor, defaultStyleProvider, forecolor, height, key, modeValue, origin, style, uuid, width, x, y
UNSET_PRINT_ELEMENT_ID, UNSET_SOURCE_ELEMENT_ID
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.
|
LineDirectionEnum |
getDirectionValue()
Gets the line direction.
|
void |
setDirection(LineDirectionEnum directionValue)
Sets the line direction.
|
void |
setHeight(int height) |
void |
setWidth(int width) |
copyPen, getDefaultLineColor, getDefaultLineWidth, getFillValue, getLinePen, getOwnFillValue, setFill
getBackcolor, getDefaultStyleProvider, getForecolor, getHeight, getKey, getModeValue, getOrigin, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPrintElementId, getPropertiesMap, getSourceElementId, getStyle, getStyleNameReference, getStyleResolver, getUUID, getWidth, getX, getY, hasProperties, setBackcolor, setForecolor, setKey, setMode, setOrigin, setPrintElementId, setSourceElementId, setStyle, setUUID, setX, setY
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setFill
getHeight, getKey, getOrigin, getPrintElementId, getSourceElementId, getWidth, getX, getY, setStyle, setUUID, setX, setY
getParentProperties, getPropertiesMap, hasProperties
getUUID
getFillValue, getLinePen, getOwnFillValue
getBackcolor, getForecolor, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, setBackcolor, setForecolor, setMode
getDefaultLineColor, getDefaultLineWidth
getDefaultStyleProvider, getStyle, getStyleNameReference
protected LineDirectionEnum directionValue
public JRBasePrintLine(JRDefaultStyleProvider defaultStyleProvider)
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 operationCopyright © 2017. All rights reserved.