net.sf.jasperreports.engine
public interface JRPrintElement extends JRCommonElement, JRPropertiesHolder
Modifier and Type | Method and Description |
---|---|
<T> void |
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 |
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) |
getBackcolor, getForecolor, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, setBackcolor, setForecolor, setMode, setMode, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
getParentProperties, getPropertiesMap, hasProperties
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 operation© 2001-2010 Jaspersoft Corporation www.jaspersoft.com