net.sf.jasperreports.engine.design
Class JRDesignExpression
java.lang.Object
net.sf.jasperreports.engine.base.JRBaseExpression
net.sf.jasperreports.engine.design.JRDesignExpression
- All Implemented Interfaces:
- Serializable, Cloneable, JRChangeEventsSupport, JRCloneable, JRExpression
public class JRDesignExpression
- extends JRBaseExpression
- implements JRChangeEventsSupport
- Version:
- $Id: JRDesignExpression.java 5180 2012-03-29 13:23:12Z teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
- See Also:
- Serialized Form
PROPERTY_TEXT
public static final String PROPERTY_TEXT
- See Also:
- Constant Field Values
PROPERTY_VALUE_CLASS_NAME
public static final String PROPERTY_VALUE_CLASS_NAME
- Deprecated. To be removed.
- See Also:
- Constant Field Values
chunks
protected List<JRExpressionChunk> chunks
JRDesignExpression
public JRDesignExpression()
JRDesignExpression
public JRDesignExpression(String text)
setValueClass
public void setValueClass(Class<?> clazz)
- Deprecated. To be removed.
setValueClassName
public void setValueClassName(String className)
- Deprecated. To be removed.
setId
public void setId(int id)
- FIXMENOW remove me?
getChunks
public JRExpressionChunk[] getChunks()
- Specified by:
getChunks in interface JRExpression- Overrides:
getChunks in class JRBaseExpression
setChunks
public void setChunks(List<JRExpressionChunk> chunks)
- Clears the current list of chunks and adds the passed list of chunks. The reference
to the list passed is not kept.
addChunk
public void addChunk(JRDesignExpressionChunk chunk)
addChunk
protected void addChunk(byte type,
String text)
addTextChunk
public void addTextChunk(String text)
addParameterChunk
public void addParameterChunk(String text)
addFieldChunk
public void addFieldChunk(String text)
addVariableChunk
public void addVariableChunk(String text)
addResourceChunk
public void addResourceChunk(String text)
setText
public void setText(String text)
getEventSupport
public JRPropertyChangeSupport getEventSupport()
- Description copied from interface:
JRChangeEventsSupport
- Returns the property change support object for this instance.
- Specified by:
getEventSupport in interface JRChangeEventsSupport
- Returns:
- the property change support object for this instance
clone
public Object clone()
- Specified by:
clone in interface JRCloneable- Overrides:
clone in class JRBaseExpression
Copyright © 2012. All Rights Reserved.