public interface JRPrintElement extends JRCommonElement, JRPropertiesHolder, JRIdentifiable
| Modifier and Type | Field and Description |
|---|---|
static int |
UNSET_PRINT_ELEMENT_ID |
static int |
UNSET_SOURCE_ELEMENT_ID
A value used when no source element Id information is available.
|
| Modifier and Type | Method and Description |
|---|---|
<T> void |
accept(PrintElementVisitor<T> visitor,
T arg)
Accepts a print element visitor.
|
int |
getHeight() |
String |
getKey()
Returns a string key that can be used to identify the element.
|
JROrigin |
getOrigin() |
int |
getPrintElementId()
Returns a numerical Id that together with
getSourceElementId() uniquely identifies a print element. |
int |
getSourceElementId()
Returns a numerical Id associated to the fill element that generated
this print element.
|
int |
getWidth() |
int |
getX() |
int |
getY() |
void |
setHeight(int height) |
void |
setStyle(JRStyle style) |
void |
setUUID(UUID uuid) |
void |
setWidth(int width) |
void |
setX(int x) |
void |
setY(int y) |
getBackcolor, getForecolor, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, setBackcolor, setForecolor, setModegetDefaultStyleProvider, getStyle, getStyleNameReferencegetParentProperties, getPropertiesMap, hasPropertiesgetUUIDstatic final int UNSET_SOURCE_ELEMENT_ID
getSourceElementId(),
Constant Field Valuesstatic final int UNSET_PRINT_ELEMENT_ID
JROrigin getOrigin()
void setStyle(JRStyle style)
int getX()
void setUUID(UUID uuid)
void setX(int x)
int getY()
void setY(int y)
int getWidth()
getWidth in interface JRCommonElementvoid setWidth(int width)
int getHeight()
getHeight in interface JRCommonElementvoid setHeight(int height)
String getKey()
When filling a report, the report element key
is copied to all print elements generated by a report element.
Note that this means that multiple elements having the same key can
appear on the same page/filled report.
getKey in interface JRCommonElement<T> void accept(PrintElementVisitor<T> visitor, T arg)
The element calls the method that corresponds to the element type on the visitor.
T - the type of the argument passed to the visit operationvisitor - the visitor objectsarg - the argument passed to the visit operationint getSourceElementId()
int getPrintElementId()
getSourceElementId() uniquely identifies a print element.PrintElementIdCopyright © 2017. All rights reserved.