public class StandardItemProperty extends Object implements ItemProperty, JRChangeEventsSupport, Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_NAME |
static String |
PROPERTY_VALUE |
static String |
PROPERTY_VALUE_EXPRESSION |
| Constructor and Description |
|---|
StandardItemProperty() |
StandardItemProperty(String name,
String value,
JRExpression valueExpression) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
JRPropertyChangeSupport |
getEventSupport()
Returns the property change support object for this instance.
|
String |
getName()
Returns the name of the item property (required).
|
String |
getValue()
Returns the
value attribute of the item property. |
JRExpression |
getValueExpression()
Returns a
JRExpression representing
the value object for the item property. |
void |
setName(String name) |
void |
setValue(String value) |
void |
setValueExpression(JRExpression valueExpression) |
public static final String PROPERTY_NAME
public static final String PROPERTY_VALUE
public static final String PROPERTY_VALUE_EXPRESSION
public StandardItemProperty()
public StandardItemProperty(String name, String value, JRExpression valueExpression)
public String getName()
ItemPropertygetName in interface ItemPropertypublic void setName(String name)
public String getValue()
ItemPropertyvalue attribute of the item property. Only
java.lang.String values are allowed for this attribute.getValue in interface ItemPropertyvalue attributepublic void setValue(String value)
public JRExpression getValueExpression()
ItemPropertyJRExpression representing
the value object for the item property. If present, it overrides the value given by
the value attribute.getValueExpression in interface ItemPropertypublic void setValueExpression(JRExpression valueExpression)
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupportgetEventSupport in interface JRChangeEventsSupportpublic Object clone()
clone in interface JRCloneableclone in class ObjectCopyright © 2017. All rights reserved.