Class StandardItem
- java.lang.Object
-
- net.sf.jasperreports.components.items.StandardItem
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Item
,JRChangeEventsSupport
,JRCloneable
public class StandardItem extends Object implements Item, JRChangeEventsSupport, Serializable
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_ITEM_PROPERTIES
-
Constructor Summary
Constructors Constructor Description StandardItem()
StandardItem(List<ItemProperty> properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addItemProperty(ItemProperty property)
Object
clone()
JRPropertyChangeSupport
getEventSupport()
Returns the property change support object for this instance.List<ItemProperty>
getProperties()
Returns a list ofItemProperty
objects.void
removeItemProperty(ItemProperty property)
-
-
-
Field Detail
-
PROPERTY_ITEM_PROPERTIES
public static final String PROPERTY_ITEM_PROPERTIES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StandardItem
public StandardItem()
-
StandardItem
public StandardItem(List<ItemProperty> properties)
-
-
Method Detail
-
getEventSupport
public JRPropertyChangeSupport 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
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
getProperties
public List<ItemProperty> getProperties()
Description copied from interface:Item
Returns a list ofItemProperty
objects. Each item property provides a name-value pair.- Specified by:
getProperties
in interfaceItem
- Returns:
- a list of item properties
- See Also:
ItemProperty
-
addItemProperty
public void addItemProperty(ItemProperty property)
-
removeItemProperty
public void removeItemProperty(ItemProperty property)
-
-