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