Class JRDesignGenericElementParameter
- java.lang.Object
-
- net.sf.jasperreports.engine.base.JRBaseGenericElementParameter
-
- net.sf.jasperreports.engine.design.JRDesignGenericElementParameter
-
- All Implemented Interfaces:
Serializable
,Cloneable
,JRChangeEventsSupport
,JRCloneable
,JRGenericElementParameter
public class JRDesignGenericElementParameter extends JRBaseGenericElementParameter implements JRChangeEventsSupport
A implementation ofJRBaseGenericElementParameter
that is to be used at report design time.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_NAME
static String
PROPERTY_SKIP_WHEN_EMPTY
static String
PROPERTY_VALUE_EXPRESSION
-
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseGenericElementParameter
name, skipWhenEmpty, valueExpression
-
-
Constructor Summary
Constructors Constructor Description JRDesignGenericElementParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
JRPropertyChangeSupport
getEventSupport()
Returns the property change support object for this instance.void
setName(String name)
Sets the parameter name.void
setSkipWhenEmpty(boolean skipWhenEmpty)
Sets the flag that determines whether the parameter is to be skipped when its value isnull
.void
setValueExpression(JRExpression valueExpression)
Sets the parameter's value expression.-
Methods inherited from class net.sf.jasperreports.engine.base.JRBaseGenericElementParameter
getName, getValueExpression, isSkipWhenEmpty
-
-
-
-
Field Detail
-
PROPERTY_NAME
public static final String PROPERTY_NAME
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_EXPRESSION
public static final String PROPERTY_VALUE_EXPRESSION
- See Also:
- Constant Field Values
-
PROPERTY_SKIP_WHEN_EMPTY
public static final String PROPERTY_SKIP_WHEN_EMPTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classJRBaseGenericElementParameter
-
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
-
setName
public void setName(String name)
Sets the parameter name.- Parameters:
name
- the parameter name- See Also:
JRBaseGenericElementParameter.getName()
-
setValueExpression
public void setValueExpression(JRExpression valueExpression)
Sets the parameter's value expression.- Parameters:
valueExpression
- the value expression.- See Also:
JRBaseGenericElementParameter.getValueExpression()
-
setSkipWhenEmpty
public void setSkipWhenEmpty(boolean skipWhenEmpty)
Sets the flag that determines whether the parameter is to be skipped when its value isnull
.- Parameters:
skipWhenEmpty
- whether parameter withnull
ar to be skipped- See Also:
JRBaseGenericElementParameter.isSkipWhenEmpty()
-
-