Class StandardItemData
java.lang.Object
net.sf.jasperreports.components.items.StandardItemData
- All Implemented Interfaces:
Serializable
,Cloneable
,ItemData
,JRChangeEventsSupport
,JRCloneable
public class StandardItemData
extends Object
implements Serializable, ItemData, JRChangeEventsSupport
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
clone()
void
collectExpressions
(JRExpressionCollector collector) static List
<ItemProperty> getCompiledProperties
(List<ItemProperty> properties, JRBaseObjectFactory factory) Returns the dataset information that will be used by theItemData
object.Returns the property change support object for this instance.getItems()
Returns a list ofItem
objects.removeItem
(Item item) void
setDataset
(JRElementDataset dataset) Sets the dataset information that will be used to create the item list.
-
Field Details
-
PROPERTY_ITEMS
- See Also:
-
PROPERTY_DATASET
- See Also:
-
-
Constructor Details
-
StandardItemData
public StandardItemData() -
StandardItemData
-
-
Method Details
-
getCompiledProperties
public static List<ItemProperty> getCompiledProperties(List<ItemProperty> properties, JRBaseObjectFactory factory) -
collectExpressions
-
getItems
Description copied from interface:ItemData
Returns a list ofItem
objects. Each item in the list provides a collection of item properties. -
addItem
-
addItem
-
removeItem
-
getDataset
Description copied from interface:ItemData
Returns the dataset information that will be used by theItemData
object.This information is required either to use the main dataset or to instantiate a subdataset from the report. The data produced by the subdataset is fed to the items list.
- Specified by:
getDataset
in interfaceItemData
- Returns:
- the dataset
- See Also:
-
setDataset
Sets the dataset information that will be used to create the item list.- Parameters:
dataset
- the dataset information- See Also:
-
getEventSupport
Description copied from interface:JRChangeEventsSupport
Returns the property change support object for this instance.- Specified by:
getEventSupport
in interfaceJRChangeEventsSupport
- Returns:
- the property change support object for this instance
-
clone
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-