public class JRBasePrintLine extends JRBasePrintGraphicElement implements JRPrintLine
| Modifier and Type | Field and Description |
|---|---|
protected LineDirectionEnum |
directionValue |
fillValue, linePenbackcolor, defaultStyleProvider, forecolor, height, key, modeValue, origin, style, uuid, width, x, yUNSET_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, setFillgetBackcolor, 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, setYclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetFillgetHeight, getKey, getOrigin, getPrintElementId, getSourceElementId, getWidth, getX, getY, setStyle, setUUID, setX, setYgetParentProperties, getPropertiesMap, hasPropertiesgetUUIDgetFillValue, getLinePen, getOwnFillValuegetBackcolor, getForecolor, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, setBackcolor, setForecolor, 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 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 operationCopyright © 2017. All rights reserved.