public interface JRGenericPrintElement extends JRPrintElement
Such an element has a type
and includes
a set of parameters.
Export handlers need to registered for the element's type and they are
responsible for producing export output for the element.
JRGenericElement
Modifier and Type | Method and Description |
---|---|
JRGenericElementType |
getGenericType()
Returns the type of this element.
|
java.util.Set |
getParameterNames()
Returns the set of parameter names for this element.
|
java.lang.Object |
getParameterValue(java.lang.String name)
Returns the value of a parameter.
|
boolean |
hasParameter(java.lang.String name)
Determines whether the element includes a parameter having a given name.
|
void |
setParameterValue(java.lang.String name,
java.lang.Object value)
Sets a parameter value.
|
accept, getHeight, getKey, getOrigin, getWidth, getX, getY, setHeight, setStyle, setWidth, setX, setY
getBackcolor, getForecolor, getMode, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnMode, getOwnModeValue, setBackcolor, setForecolor, setMode, setMode, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
getParentProperties, getPropertiesMap, hasProperties
JRGenericElementType getGenericType()
java.util.Set getParameterNames()
String
s).boolean hasParameter(java.lang.String name)
name
- the parameter namejava.lang.Object getParameterValue(java.lang.String name)
name
- the parameter namenull
if a parameter by
the specified name does not exist.void setParameterValue(java.lang.String name, java.lang.Object value)
name
- the parameter namevalue
- the parameter value© 2001-2010 Jaspersoft Corporation www.jaspersoft.com