public class JRBaseBreak extends JRBaseElement implements JRBreak
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_TYPE |
protected BreakTypeEnum |
typeValue |
backcolor, 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
PAGE_BREAK_NO_PAGINATION_APPLY, PAGE_BREAK_NO_PAGINATION_IGNORE, PROPERTY_PAGE_BREAK_NO_PAGINATION
Modifier | Constructor and Description |
---|---|
protected |
JRBaseBreak(JRBreak breakElement,
JRBaseObjectFactory factory)
Initializes properties that are specific to break elements.
|
Modifier and Type | Method and Description |
---|---|
void |
collectExpressions(JRExpressionCollector collector) |
int |
getHeight() |
BreakTypeEnum |
getTypeValue()
Gets the break type.
|
int |
getX()
Gets the the section relative horizontal offset of the element top left corner.
|
void |
setType(BreakTypeEnum typeValue)
Sets the break type.
|
void |
visit(JRVisitor visitor) |
clone, clone, clone, getBackcolor, getBaseStyle, getDefaultStyleProvider, getElementGroup, getEventSupport, getForecolor, getKey, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getParentProperties, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertiesMap, getPropertyExpressions, getStretchTypeValue, getStyle, getStyleNameReference, getStyleResolver, getUUID, getWidth, getY, hasProperties, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getElementGroup, getKey, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchTypeValue, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setWidth, setX
clone
getBackcolor, getForecolor, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
getParentProperties, getPropertiesMap, hasProperties
getUUID
public static final String PROPERTY_TYPE
protected BreakTypeEnum typeValue
protected JRBaseBreak(JRBreak breakElement, JRBaseObjectFactory factory)
breakElement
- an element whose properties are copied to this element. Usually it is a
JRDesignBreak
that must be transformed into an
JRBaseBreak at compile time.factory
- a factory used in the compile processpublic int getX()
JRElement
getX
in interface JRElement
getX
in class JRBaseElement
public int getHeight()
getHeight
in interface JRCommonElement
getHeight
in class JRBaseElement
public BreakTypeEnum getTypeValue()
JRBreak
getTypeValue
in interface JRBreak
BreakTypeEnum
public void setType(BreakTypeEnum typeValue)
JRBreak
setType
in interface JRBreak
typeValue
- a value representing one of the break type constants in BreakTypeEnum
public void collectExpressions(JRExpressionCollector collector)
collectExpressions
in interface JRElement
public void visit(JRVisitor visitor)
visit
in interface JRVisitable
Copyright © 2021 TIBCO Software Inc.. All rights reserved.