public interface JRElement extends JRChild, JRCommonElement, JRPropertiesHolder
Modifier and Type | Field and Description |
---|---|
static byte |
MODE_OPAQUE
Deprecated.
Replaced by
ModeEnum.OPAQUE . |
static byte |
MODE_TRANSPARENT
Deprecated.
Replaced by
ModeEnum.TRANSPARENT . |
static byte |
POSITION_TYPE_FIX_RELATIVE_TO_BOTTOM
Deprecated.
Replaced by
PositionTypeEnum.FIX_RELATIVE_TO_BOTTOM . |
static byte |
POSITION_TYPE_FIX_RELATIVE_TO_TOP
Deprecated.
Replaced by
PositionTypeEnum.FIX_RELATIVE_TO_TOP . |
static byte |
POSITION_TYPE_FLOAT
Deprecated.
Replaced by
PositionTypeEnum.FLOAT . |
static byte |
STRETCH_TYPE_NO_STRETCH
Deprecated.
Replaced by
StretchTypeEnum.NO_STRETCH . |
static byte |
STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT
Deprecated.
Replaced by
StretchTypeEnum.RELATIVE_TO_BAND_HEIGHT . |
static byte |
STRETCH_TYPE_RELATIVE_TO_TALLEST_OBJECT
Deprecated.
Replaced by
StretchTypeEnum.RELATIVE_TO_TALLEST_OBJECT . |
Modifier and Type | Method and Description |
---|---|
void |
collectExpressions(JRExpressionCollector collector) |
JRElementGroup |
getElementGroup()
Indicates the logical group that the element belongs to.
|
java.lang.String |
getKey()
Returns the string value that uniquely identifies the element.
|
byte |
getPositionType()
Deprecated.
Replaced by
getPositionTypeValue() . |
PositionTypeEnum |
getPositionTypeValue()
Returns the position type for the element
|
JRExpression |
getPrintWhenExpression()
Gets the the expression that is evaluated in order to decide if the element should be displayed.
|
JRGroup |
getPrintWhenGroupChanges()
Returns the group for which an element with a printRepeatedValues attribute set to true will be redisplayed
even if the value has not changed.
|
JRPropertyExpression[] |
getPropertyExpressions()
Returns the list of dynamic/expression-based properties for this report element.
|
byte |
getStretchType()
Deprecated.
Replaced by
getStretchTypeValue() . |
StretchTypeEnum |
getStretchTypeValue()
Indicates the stretch type for the element
|
int |
getX()
Gets the the section relative horizontal offset of the element top left corner.
|
int |
getY()
Gets the the section relative vertical offset of the element top left corner.
|
boolean |
isPrintInFirstWholeBand()
Returns true if an element with a printRepeatedValues attribute set to true will be redisplayed for every
new page or column that is not an overflow from a previous page or column.
|
boolean |
isPrintRepeatedValues()
Specifies if the element value will be printed for every iteration, even if its value has not changed.
|
boolean |
isPrintWhenDetailOverflows()
If this is set to true, the element will be reprinted on the next page if the band does not fit in the current page.
|
boolean |
isRemoveLineWhenBlank()
Returns true if the remaining blank space appearing when the value is not printed will be removed.
|
void |
setPositionType(byte positionType)
Deprecated.
Replaced by
setPositionType(PositionTypeEnum) . |
void |
setPositionType(PositionTypeEnum positionType)
Sets the position type for the element.
|
void |
setPrintInFirstWholeBand(boolean isPrintInFirstWholeBand)
Specifies whether an element with a printRepeatedValues attribute set to true should be redisplayed for every
new page or column that is not an overflow from a previous page or column.
|
void |
setPrintRepeatedValues(boolean isPrintRepeatedValues) |
void |
setPrintWhenDetailOverflows(boolean isPrintWhenDetailOverflows)
If this is set to true, the element will be reprinted on the next page if the band does not fit in the current page.
|
void |
setRemoveLineWhenBlank(boolean isRemoveLineWhenBlank)
Specifies whether the remaining blank space appearing when the value is not printed will be removed.
|
void |
setStretchType(byte stretchType)
Deprecated.
Replaced by
setStretchType(StretchTypeEnum) . |
void |
setStretchType(StretchTypeEnum stretchTypeEnum)
Specifies how the engine should treat a missing image.
|
void |
setWidth(int width) |
void |
setX(int x)
Sets the the section relative horizontal offset of the element top left corner.
|
visit
clone
getBackcolor, getForecolor, getHeight, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, getWidth, setBackcolor, setForecolor, setMode, setMode, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
getParentProperties, getPropertiesMap, hasProperties
static final byte POSITION_TYPE_FLOAT
PositionTypeEnum.FLOAT
.static final byte POSITION_TYPE_FIX_RELATIVE_TO_TOP
PositionTypeEnum.FIX_RELATIVE_TO_TOP
.static final byte POSITION_TYPE_FIX_RELATIVE_TO_BOTTOM
PositionTypeEnum.FIX_RELATIVE_TO_BOTTOM
.static final byte MODE_OPAQUE
ModeEnum.OPAQUE
.static final byte MODE_TRANSPARENT
ModeEnum.TRANSPARENT
.static final byte STRETCH_TYPE_NO_STRETCH
StretchTypeEnum.NO_STRETCH
.static final byte STRETCH_TYPE_RELATIVE_TO_TALLEST_OBJECT
StretchTypeEnum.RELATIVE_TO_TALLEST_OBJECT
.static final byte STRETCH_TYPE_RELATIVE_TO_BAND_HEIGHT
StretchTypeEnum.RELATIVE_TO_BAND_HEIGHT
.java.lang.String getKey()
getKey
in interface JRCommonElement
byte getPositionType()
getPositionTypeValue()
.PositionTypeEnum getPositionTypeValue()
void setPositionType(byte positionType)
setPositionType(PositionTypeEnum)
.void setPositionType(PositionTypeEnum positionType)
positionType
- the position typebyte getStretchType()
getStretchTypeValue()
.void setStretchType(byte stretchType)
setStretchType(StretchTypeEnum)
.StretchTypeEnum getStretchTypeValue()
StretchTypeEnum
void setStretchType(StretchTypeEnum stretchTypeEnum)
stretchTypeEnum
- a value representing one of the stretch type constants in StretchTypeEnum
boolean isPrintRepeatedValues()
void setPrintRepeatedValues(boolean isPrintRepeatedValues)
int getX()
void setX(int x)
int getY()
void setWidth(int width)
boolean isRemoveLineWhenBlank()
void setRemoveLineWhenBlank(boolean isRemoveLineWhenBlank)
boolean isPrintInFirstWholeBand()
isPrintRepeatedValues()
void setPrintInFirstWholeBand(boolean isPrintInFirstWholeBand)
isPrintRepeatedValues()
boolean isPrintWhenDetailOverflows()
void setPrintWhenDetailOverflows(boolean isPrintWhenDetailOverflows)
JRExpression getPrintWhenExpression()
JRGroup getPrintWhenGroupChanges()
isPrintRepeatedValues()
JRElementGroup getElementGroup()
void collectExpressions(JRExpressionCollector collector)
JRPropertyExpression[] getPropertyExpressions()
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com