net.sf.jasperreports.engine.base
Class JRBaseScriptlet
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseScriptlet
- All Implemented Interfaces:
- Serializable, Cloneable, JRChangeEventsSupport, JRCloneable, JRPropertiesHolder, JRScriptlet
- Direct Known Subclasses:
- JRDesignScriptlet
public class JRBaseScriptlet
- extends Object
- implements JRScriptlet, Serializable, JRChangeEventsSupport
- Version:
- $Id: JRBaseScriptlet.java 4595 2011-09-08 15:55:10Z teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
PROPERTY_DESCRIPTION
public static final String PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
name
protected String name
description
protected String description
valueClassName
protected String valueClassName
valueClassRealName
protected String valueClassRealName
valueClass
protected transient Class<?> valueClass
propertiesMap
protected JRPropertiesMap propertiesMap
JRBaseScriptlet
protected JRBaseScriptlet()
JRBaseScriptlet
protected JRBaseScriptlet(JRScriptlet scriptlet,
JRBaseObjectFactory factory)
getName
public String getName()
- Specified by:
getName in interface JRScriptlet
getDescription
public String getDescription()
- Specified by:
getDescription in interface JRScriptlet
setDescription
public void setDescription(String description)
- Specified by:
setDescription in interface JRScriptlet
getValueClass
public Class<?> getValueClass()
- Specified by:
getValueClass in interface JRScriptlet
getValueClassName
public String getValueClassName()
- Specified by:
getValueClassName in interface JRScriptlet
hasProperties
public boolean hasProperties()
- Description copied from interface:
JRPropertiesHolder
- Checks whether the object has any properties.
- Specified by:
hasProperties in interface JRPropertiesHolder
- Returns:
- whether the object has any properties
getPropertiesMap
public JRPropertiesMap getPropertiesMap()
- Description copied from interface:
JRPropertiesHolder
- Returns this object's properties map.
- Specified by:
getPropertiesMap in interface JRPropertiesHolder
- Returns:
- this object's properties map
getParentProperties
public JRPropertiesHolder getParentProperties()
- Description copied from interface:
JRPropertiesHolder
- Returns the parent properties holder, whose properties are used as defaults
for this object.
- Specified by:
getParentProperties in interface JRPropertiesHolder
- Returns:
- the parent properties holder, or
null if no parent
clone
public Object clone()
- Specified by:
clone in interface JRCloneable- Overrides:
clone in class Object
getEventSupport
public JRPropertyChangeSupport getEventSupport()
- Description copied from interface:
JRChangeEventsSupport
- Returns the property change support object for this instance.
- Specified by:
getEventSupport in interface JRChangeEventsSupport
- Returns:
- the property change support object for this instance
Copyright © 2012. All Rights Reserved.