public class JRBaseLine extends JRBaseGraphicElement implements JRLine
| Modifier and Type | Field and Description |
|---|---|
protected LineDirectionEnum |
directionValue |
static String |
PROPERTY_DIRECTION |
fillValue, linePenbackcolor, defaultStyleProvider, elementGroup, forecolor, height, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, key, modeValue, parentStyle, parentStyleNameReference, positionTypeValue, printWhenExpression, printWhenGroupChanges, PROPERTY_POSITION_TYPE, PROPERTY_PRINT_IN_FIRST_WHOLE_BAND, PROPERTY_PRINT_REPEATED_VALUES, PROPERTY_PRINT_WHEN_DETAIL_OVERFLOWS, PROPERTY_REMOVE_LINE_WHEN_BLANK, PROPERTY_STRETCH_TYPE, PROPERTY_WIDTH, PROPERTY_X, stretchTypeValue, uuid, width, x, y| Modifier | Constructor and Description |
|---|---|
protected |
JRBaseLine(JRLine line,
JRBaseObjectFactory factory)
Initializes properties that are specific to lines.
|
| Modifier and Type | Method and Description |
|---|---|
void |
collectExpressions(JRExpressionCollector collector) |
LineDirectionEnum |
getDirectionValue()
Gets the line direction.
|
void |
setDirection(LineDirectionEnum directionValue)
Sets the line direction.
|
void |
setWidth(int width) |
void |
visit(JRVisitor visitor) |
clone, getDefaultLineColor, getDefaultLineWidth, getFillValue, getLinePen, getOwnFillValue, setFillclone, clone, getBackcolor, getBaseStyle, getDefaultStyleProvider, getElementGroup, getEventSupport, getForecolor, getHeight, getKey, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertiesMap, getPropertyExpressions, getStretchTypeValue, getStyle, getStyleNameReference, getStyleResolver, getUUID, getWidth, getX, getY, hasProperties, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setXequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, getElementGroup, getKey, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchTypeValue, getX, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setXclonegetParentProperties, getPropertiesMap, hasPropertiesgetUUIDgetFillValue, getLinePen, getOwnFillValue, setFillgetBackcolor, getForecolor, getHeight, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setModegetDefaultLineColor, getDefaultLineWidthgetDefaultStyleProvider, getStyle, getStyleNameReferencepublic static final String PROPERTY_DIRECTION
protected LineDirectionEnum directionValue
protected JRBaseLine(JRLine line, JRBaseObjectFactory factory)
line - an element whose properties are copied to this element. Usually it is a
JRDesignLine that must be transformed into an
JRBaseLine at compile time.factory - a factory used in the compile processpublic void setWidth(int width)
setWidth in interface JRElementsetWidth in class JRBaseElementpublic LineDirectionEnum getDirectionValue()
JRLinegetDirectionValue in interface JRLineLineDirectionEnumpublic void setDirection(LineDirectionEnum directionValue)
JRLinesetDirection in interface JRLinedirectionValue - a value representing one of the line direction constants in LineDirectionEnumpublic void collectExpressions(JRExpressionCollector collector)
collectExpressions in interface JRElementpublic void visit(JRVisitor visitor)
visit in interface JRVisitableCopyright © 2017. All rights reserved.