public class JRBaseBreak extends JRBaseElement implements JRBreak
Modifier and Type | Field and Description |
---|---|
static java.lang.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, width, x, y
TYPE_COLUMN, TYPE_PAGE
MODE_OPAQUE, MODE_TRANSPARENT, POSITION_TYPE_FIX_RELATIVE_TO_BOTTOM, POSITION_TYPE_FIX_RELATIVE_TO_TOP, POSITION_TYPE_FLOAT, STRETCH_TYPE_NO_STRETCH, STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT, STRETCH_TYPE_RELATIVE_TO_TALLEST_OBJECT
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() |
byte |
getType()
Deprecated.
Replaced by
getTypeValue() . |
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 |
setType(byte type)
Deprecated.
Replaced by
setType(BreakTypeEnum) . |
void |
visit(JRVisitor visitor) |
clone, clone, getBackcolor, getBaseStyle, getDefaultStyleProvider, getElementGroup, getEventSupport, getForecolor, getKey, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getParentProperties, getPositionType, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertiesMap, getPropertyExpressions, getStretchType, getStretchTypeValue, getStyle, getStyleNameReference, getWidth, getY, hasProperties, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setBackcolor, setForecolor, setMode, setMode, setMode, setPositionType, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setStretchType, setWidth, setX
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getElementGroup, getKey, getPositionType, getPositionTypeValue, getPrintWhenExpression, getPrintWhenGroupChanges, getPropertyExpressions, getStretchType, getStretchTypeValue, getY, isPrintInFirstWholeBand, isPrintRepeatedValues, isPrintWhenDetailOverflows, isRemoveLineWhenBlank, setPositionType, setPositionType, setPrintInFirstWholeBand, setPrintRepeatedValues, setPrintWhenDetailOverflows, setRemoveLineWhenBlank, setStretchType, setStretchType, setWidth, setX
clone
getBackcolor, getForecolor, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
getParentProperties, getPropertiesMap, hasProperties
public static final java.lang.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 byte getType()
getTypeValue()
.public void setType(byte type)
setType(BreakTypeEnum)
.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
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com