Package net.sf.jasperreports.engine.fill
Class JRFillScriptlet
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.JRFillScriptlet
-
- All Implemented Interfaces:
java.lang.Cloneable,JRCloneable,JRPropertiesHolder,JRScriptlet
public class JRFillScriptlet extends java.lang.Object implements JRScriptlet
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected JRScriptletparent-
Fields inherited from interface net.sf.jasperreports.engine.JRScriptlet
SCRIPTLET_PARAMETER_NAME_SUFFIX
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJRFillScriptlet(JRScriptlet parent, JRFillObjectFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()java.lang.StringgetDescription()java.lang.StringgetName()JRPropertiesHoldergetParentProperties()Returns the parent properties holder, whose properties are used as defaults for this object.JRPropertiesMapgetPropertiesMap()Returns this object's properties map.JRPropertyExpression[]getPropertyExpressions()Returns the list of dynamic/expression-based properties for this scriptlet.JRAbstractScriptletgetScriptlet()java.lang.Class<?>getValueClass()java.lang.StringgetValueClassName()booleanhasProperties()Checks whether the object has any properties.voidsetDescription(java.lang.String description)voidsetScriptlet(JRAbstractScriptlet scriptlet)
-
-
-
Field Detail
-
parent
protected JRScriptlet parent
-
-
Constructor Detail
-
JRFillScriptlet
protected JRFillScriptlet(JRScriptlet parent, JRFillObjectFactory factory)
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceJRScriptlet
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin interfaceJRScriptlet
-
setDescription
public void setDescription(java.lang.String description)
- Specified by:
setDescriptionin interfaceJRScriptlet
-
getValueClass
public java.lang.Class<?> getValueClass()
- Specified by:
getValueClassin interfaceJRScriptlet
-
getValueClassName
public java.lang.String getValueClassName()
- Specified by:
getValueClassNamein interfaceJRScriptlet
-
getScriptlet
public JRAbstractScriptlet getScriptlet()
-
setScriptlet
public void setScriptlet(JRAbstractScriptlet scriptlet)
-
hasProperties
public boolean hasProperties()
Description copied from interface:JRPropertiesHolderChecks whether the object has any properties.- Specified by:
hasPropertiesin interfaceJRPropertiesHolder- Returns:
- whether the object has any properties
-
getPropertiesMap
public JRPropertiesMap getPropertiesMap()
Description copied from interface:JRPropertiesHolderReturns this object's properties map.- Specified by:
getPropertiesMapin interfaceJRPropertiesHolder- Returns:
- this object's properties map
-
getParentProperties
public JRPropertiesHolder getParentProperties()
Description copied from interface:JRPropertiesHolderReturns the parent properties holder, whose properties are used as defaults for this object.- Specified by:
getParentPropertiesin interfaceJRPropertiesHolder- Returns:
- the parent properties holder, or
nullif no parent
-
clone
public java.lang.Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classjava.lang.Object
-
getPropertyExpressions
public JRPropertyExpression[] getPropertyExpressions()
Description copied from interface:JRScriptletReturns the list of dynamic/expression-based properties for this scriptlet.- Specified by:
getPropertyExpressionsin interfaceJRScriptlet- Returns:
- an array containing the expression-based properties of this scriptlet
-
-