Package net.sf.jasperreports.engine.fill
Class JRFillScriptlet
java.lang.Object
net.sf.jasperreports.engine.fill.JRFillScriptlet
- All Implemented Interfaces:
Cloneable
,JRCloneable
,JRPropertiesHolder
,JRScriptlet
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Field Summary
FieldsFields inherited from interface net.sf.jasperreports.engine.JRScriptlet
SCRIPTLET_PARAMETER_NAME_SUFFIX
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
JRFillScriptlet
(JRScriptlet parent, JRFillObjectFactory factory) -
Method Summary
Modifier and TypeMethodDescriptionclone()
getName()
Returns the parent properties holder, whose properties are used as defaults for this object.Returns this object's properties map.Returns the list of dynamic/expression-based properties for this scriptlet.Class
<?> boolean
Checks whether the object has any properties.void
setDescription
(String description) void
setScriptlet
(JRAbstractScriptlet scriptlet)
-
Field Details
-
parent
-
-
Constructor Details
-
JRFillScriptlet
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceJRScriptlet
-
getDescription
- Specified by:
getDescription
in interfaceJRScriptlet
-
setDescription
- Specified by:
setDescription
in interfaceJRScriptlet
-
getValueClass
- Specified by:
getValueClass
in interfaceJRScriptlet
-
getValueClassName
- Specified by:
getValueClassName
in interfaceJRScriptlet
-
getScriptlet
-
setScriptlet
-
hasProperties
public boolean hasProperties()Description copied from interface:JRPropertiesHolder
Checks whether the object has any properties.- Specified by:
hasProperties
in interfaceJRPropertiesHolder
- Returns:
- whether the object has any properties
-
getPropertiesMap
Description copied from interface:JRPropertiesHolder
Returns this object's properties map.- Specified by:
getPropertiesMap
in interfaceJRPropertiesHolder
- Returns:
- this object's properties map
-
getParentProperties
Description copied from interface:JRPropertiesHolder
Returns the parent properties holder, whose properties are used as defaults for this object.- Specified by:
getParentProperties
in interfaceJRPropertiesHolder
- Returns:
- the parent properties holder, or
null
if no parent
-
clone
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
getPropertyExpressions
Description copied from interface:JRScriptlet
Returns the list of dynamic/expression-based properties for this scriptlet.- Specified by:
getPropertyExpressions
in interfaceJRScriptlet
- Returns:
- an array containing the expression-based properties of this scriptlet
-