Class StandardItemProperty
- java.lang.Object
-
- net.sf.jasperreports.components.items.StandardItemProperty
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,ItemProperty,JRChangeEventsSupport,JRCloneable
public class StandardItemProperty extends java.lang.Object implements ItemProperty, 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_NAMEstatic java.lang.StringPROPERTY_VALUEstatic java.lang.StringPROPERTY_VALUE_EXPRESSION
-
Constructor Summary
Constructors Constructor Description StandardItemProperty()StandardItemProperty(java.lang.String name, java.lang.String value, JRExpression valueExpression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()JRPropertyChangeSupportgetEventSupport()Returns the property change support object for this instance.java.lang.StringgetName()Returns the name of the item property (required).java.lang.StringgetValue()Returns thevalueattribute of the item property.JRExpressiongetValueExpression()Returns aJRExpressionrepresenting the value object for the item property.voidsetName(java.lang.String name)voidsetValue(java.lang.String value)voidsetValueExpression(JRExpression valueExpression)
-
-
-
Field Detail
-
PROPERTY_NAME
public static final java.lang.String PROPERTY_NAME
- See Also:
- Constant Field Values
-
PROPERTY_VALUE
public static final java.lang.String PROPERTY_VALUE
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_EXPRESSION
public static final java.lang.String PROPERTY_VALUE_EXPRESSION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StandardItemProperty
public StandardItemProperty()
-
StandardItemProperty
public StandardItemProperty(java.lang.String name, java.lang.String value, JRExpression valueExpression)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:ItemPropertyReturns the name of the item property (required).- Specified by:
getNamein interfaceItemProperty- Returns:
- the property name
-
setName
public void setName(java.lang.String name)
-
getValue
public java.lang.String getValue()
Description copied from interface:ItemPropertyReturns thevalueattribute of the item property. Onlyjava.lang.Stringvalues are allowed for this attribute.- Specified by:
getValuein interfaceItemProperty- Returns:
- the
valueattribute
-
setValue
public void setValue(java.lang.String value)
-
getValueExpression
public JRExpression getValueExpression()
Description copied from interface:ItemPropertyReturns aJRExpressionrepresenting the value object for the item property. If present, it overrides the value given by thevalueattribute.- Specified by:
getValueExpressionin interfaceItemProperty- Returns:
- the value expression
-
setValueExpression
public void setValueExpression(JRExpression valueExpression)
-
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
-
-