Class JRDesignGenericElementParameter
- java.lang.Object
-
- net.sf.jasperreports.engine.base.JRBaseGenericElementParameter
-
- net.sf.jasperreports.engine.design.JRDesignGenericElementParameter
-
- All Implemented Interfaces:
Serializable,Cloneable,JRCloneable,JRGenericElementParameter
public class JRDesignGenericElementParameter extends JRBaseGenericElementParameter
A implementation ofJRBaseGenericElementParameterthat 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 StringPROPERTY_NAMEstatic StringPROPERTY_SKIP_WHEN_EMPTYstatic StringPROPERTY_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 Objectclone()JRPropertyChangeSupportgetEventSupport()voidsetName(String name)Sets the parameter name.voidsetSkipWhenEmpty(boolean skipWhenEmpty)Sets the flag that determines whether the parameter is to be skipped when its value isnull.voidsetValueExpression(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:
clonein interfaceJRCloneable- Overrides:
clonein classJRBaseGenericElementParameter
-
getEventSupport
public JRPropertyChangeSupport getEventSupport()
-
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 withnullar to be skipped- See Also:
JRBaseGenericElementParameter.isSkipWhenEmpty()
-
-