Package net.sf.jasperreports.barcode4j
Class BarcodeComponent
- java.lang.Object
-
- net.sf.jasperreports.barcode4j.BarcodeComponent
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Component
,JRChangeEventsSupport
,JRCloneable
,JREvaluation
,Designated
- Direct Known Subclasses:
Barcode4jComponent
,QRCodeComponent
public abstract class BarcodeComponent extends Object implements Component, JREvaluation, Serializable, JRCloneable, JRChangeEventsSupport, Designated
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT_NAME_PREFIX
static String
PROPERTY_CODE_EXPRESSION
static String
PROPERTY_EVALUATION_GROUP
static String
PROPERTY_EVALUATION_TIME
static String
PROPERTY_PREFIX
-
Constructor Summary
Constructors Constructor Description BarcodeComponent()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Object
clone()
protected BarcodeComponent
cloneObject()
JRExpression
getCodeExpression()
String
getEvaluationGroup()
Gets the evaluation group for this text field.EvaluationTimeEnum
getEvaluationTime()
Gets the evaluation time for this text field.JRPropertyChangeSupport
getEventSupport()
Returns the property change support object for this instance.abstract void
receive(BarcodeVisitor visitor)
void
setCodeExpression(JRExpression codeExpression)
void
setEvaluationGroup(String evaluationGroup)
void
setEvaluationTime(EvaluationTimeEnum evaluationTime)
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.jasperreports.engine.util.Designated
getDesignation
-
-
-
-
Field Detail
-
COMPONENT_NAME_PREFIX
public static final String COMPONENT_NAME_PREFIX
- See Also:
- Constant Field Values
-
PROPERTY_PREFIX
public static final String PROPERTY_PREFIX
- See Also:
- Constant Field Values
-
PROPERTY_EVALUATION_TIME
public static final String PROPERTY_EVALUATION_TIME
- See Also:
- Constant Field Values
-
PROPERTY_EVALUATION_GROUP
public static final String PROPERTY_EVALUATION_GROUP
- See Also:
- Constant Field Values
-
PROPERTY_CODE_EXPRESSION
public static final String PROPERTY_CODE_EXPRESSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEvaluationTime
public EvaluationTimeEnum getEvaluationTime()
Description copied from interface:JREvaluation
Gets the evaluation time for this text field.- Specified by:
getEvaluationTime
in interfaceJREvaluation
- Returns:
- one of the evaluation time constants in
JRExpression
-
setEvaluationTime
public void setEvaluationTime(EvaluationTimeEnum evaluationTime)
-
getEvaluationGroup
public String getEvaluationGroup()
Description copied from interface:JREvaluation
Gets the evaluation group for this text field. Used only when evaluation time is group.- Specified by:
getEvaluationGroup
in interfaceJREvaluation
- See Also:
EvaluationTimeEnum.GROUP
-
setEvaluationGroup
public void setEvaluationGroup(String evaluationGroup)
-
getCodeExpression
public JRExpression getCodeExpression()
-
setCodeExpression
public void setCodeExpression(JRExpression codeExpression)
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
cloneObject
protected BarcodeComponent cloneObject()
-
receive
public abstract void receive(BarcodeVisitor visitor)
-
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
-
-