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()
ItemProperty
getName
in interface ItemProperty
public void setName(String name)
public String getValue()
ItemProperty
value
attribute of the item property. Only
java.lang.String
values are allowed for this attribute.getValue
in interface ItemProperty
value
attributepublic void setValue(String value)
public JRExpression getValueExpression()
ItemProperty
JRExpression
representing
the value object for the item property. If present, it overrides the value given by
the value
attribute.getValueExpression
in interface ItemProperty
public void setValueExpression(JRExpression valueExpression)
public JRPropertyChangeSupport getEventSupport()
JRChangeEventsSupport
getEventSupport
in interface JRChangeEventsSupport
public Object clone()
clone
in interface JRCloneable
clone
in class Object
Copyright © 2023 Cloud Software Group, Inc.. All rights reserved.