|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JRPrintElement
Field Summary | |
---|---|
static int |
UNSET_SOURCE_ELEMENT_ID
A value used when no source element Id information is available. |
Method Summary | ||
---|---|---|
|
accept(PrintElementVisitor<T> visitor,
T arg)
Accepts a print element visitor. |
|
int |
getHeight()
|
|
java.lang.String |
getKey()
Returns a string key that can be used to identify the element. |
|
JROrigin |
getOrigin()
|
|
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 |
setWidth(int width)
|
|
void |
setX(int x)
|
|
void |
setY(int y)
|
Methods inherited from interface net.sf.jasperreports.engine.JRCommonElement |
---|
getBackcolor, getForecolor, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, setBackcolor, setForecolor, setMode |
Methods inherited from interface net.sf.jasperreports.engine.JRStyleContainer |
---|
getDefaultStyleProvider, getStyle, getStyleNameReference |
Methods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder |
---|
getParentProperties, getPropertiesMap, hasProperties |
Field Detail |
---|
static final int UNSET_SOURCE_ELEMENT_ID
getSourceElementId()
,
Constant Field ValuesMethod Detail |
---|
JROrigin getOrigin()
void setStyle(JRStyle style)
int getX()
void setX(int x)
int getY()
void setY(int y)
int getWidth()
getWidth
in interface JRCommonElement
void setWidth(int width)
int getHeight()
getHeight
in interface JRCommonElement
void setHeight(int height)
java.lang.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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |