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
UNSET_PRINT_ELEMENT_ID, UNSET_SOURCE_ELEMENT_ID
Modifier and Type | Method and Description |
---|---|
JRGenericElementType |
getGenericType()
Returns the type of this element.
|
Set<String> |
getParameterNames()
Returns the set of parameter names for this element.
|
Object |
getParameterValue(String name)
Returns the value of a parameter.
|
boolean |
hasParameter(String name)
Determines whether the element includes a parameter having a given name.
|
void |
setParameterValue(String name,
Object value)
Sets a parameter value.
|
accept, getHeight, getKey, getOrigin, getPrintElementId, getSourceElementId, getWidth, getX, getY, setHeight, setStyle, setUUID, setWidth, setX, setY
getBackcolor, getForecolor, getModeValue, getOwnBackcolor, getOwnForecolor, getOwnModeValue, setBackcolor, setForecolor, setMode
getDefaultStyleProvider, getStyle, getStyleNameReference
getParentProperties, getPropertiesMap, hasProperties
getUUID
JRGenericElementType getGenericType()
Set<String> getParameterNames()
String
s).boolean hasParameter(String name)
name
- the parameter nameObject getParameterValue(String name)
name
- the parameter namenull
if a parameter by
the specified name does not exist.Copyright © 2023 Cloud Software Group, Inc.. All rights reserved.