Package net.sf.jasperreports.barbecue
Class StandardBarbecueComponent
- java.lang.Object
-
- net.sf.jasperreports.barbecue.StandardBarbecueComponent
-
- All Implemented Interfaces:
Serializable
,Cloneable
,BarbecueComponent
,Component
,ContextAwareComponent
,JRChangeEventsSupport
,JRCloneable
,JREvaluation
public class StandardBarbecueComponent extends Object implements BarbecueComponent, Serializable, JRChangeEventsSupport
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_APPLICATION_IDENTIFIER_EXPRESSION
static String
PROPERTY_BAR_HEIGTH
static String
PROPERTY_BAR_WIDTH
static String
PROPERTY_CHECKSUM_REQUIRED
static String
PROPERTY_CODE_EXPRESSION
static String
PROPERTY_DRAW_TEXT
static String
PROPERTY_EVALUATION_GROUP
static String
PROPERTY_EVALUATION_TIME
static String
PROPERTY_ROTATION
static String
PROPERTY_TYPE
-
Fields inherited from interface net.sf.jasperreports.barbecue.BarbecueComponent
METADATA_KEY_QUALIFICATION
-
-
Constructor Summary
Constructors Constructor Description StandardBarbecueComponent()
StandardBarbecueComponent(BarbecueComponent barcode, JRBaseObjectFactory objectFactory)
-
Method Summary
-
-
-
Field Detail
-
PROPERTY_TYPE
public static final String PROPERTY_TYPE
- See Also:
- Constant Field Values
-
PROPERTY_CODE_EXPRESSION
public static final String PROPERTY_CODE_EXPRESSION
- See Also:
- Constant Field Values
-
PROPERTY_APPLICATION_IDENTIFIER_EXPRESSION
public static final String PROPERTY_APPLICATION_IDENTIFIER_EXPRESSION
- See Also:
- Constant Field Values
-
PROPERTY_DRAW_TEXT
public static final String PROPERTY_DRAW_TEXT
- See Also:
- Constant Field Values
-
PROPERTY_CHECKSUM_REQUIRED
public static final String PROPERTY_CHECKSUM_REQUIRED
- See Also:
- Constant Field Values
-
PROPERTY_BAR_WIDTH
public static final String PROPERTY_BAR_WIDTH
- See Also:
- Constant Field Values
-
PROPERTY_BAR_HEIGTH
public static final String PROPERTY_BAR_HEIGTH
- 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_ROTATION
public static final String PROPERTY_ROTATION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StandardBarbecueComponent
public StandardBarbecueComponent()
-
StandardBarbecueComponent
public StandardBarbecueComponent(BarbecueComponent barcode, JRBaseObjectFactory objectFactory)
-
-
Method Detail
-
setContext
public void setContext(ComponentContext context)
- Specified by:
setContext
in interfaceContextAwareComponent
-
getContext
public ComponentContext getContext()
- Specified by:
getContext
in interfaceContextAwareComponent
-
getCodeExpression
public JRExpression getCodeExpression()
- Specified by:
getCodeExpression
in interfaceBarbecueComponent
-
setCodeExpression
public void setCodeExpression(JRExpression codeExpression)
-
getType
public String getType()
- Specified by:
getType
in interfaceBarbecueComponent
-
setType
public void setType(String type)
-
getApplicationIdentifierExpression
public JRExpression getApplicationIdentifierExpression()
- Specified by:
getApplicationIdentifierExpression
in interfaceBarbecueComponent
-
setApplicationIdentifierExpression
public void setApplicationIdentifierExpression(JRExpression applicationIdentifierExpression)
-
getBarWidth
public Integer getBarWidth()
- Specified by:
getBarWidth
in interfaceBarbecueComponent
-
setBarWidth
public void setBarWidth(Integer barWidth)
-
getBarHeight
public Integer getBarHeight()
- Specified by:
getBarHeight
in interfaceBarbecueComponent
-
setBarHeight
public void setBarHeight(Integer barHeight)
-
getRotation
public RotationEnum getRotation()
- Specified by:
getRotation
in interfaceBarbecueComponent
-
getOwnRotation
public RotationEnum getOwnRotation()
- Specified by:
getOwnRotation
in interfaceBarbecueComponent
-
setRotation
public void setRotation(RotationEnum rotation)
-
isChecksumRequired
public boolean isChecksumRequired()
- Specified by:
isChecksumRequired
in interfaceBarbecueComponent
-
setChecksumRequired
public void setChecksumRequired(boolean checksumRequired)
-
isDrawText
public boolean isDrawText()
- Specified by:
isDrawText
in interfaceBarbecueComponent
-
setDrawText
public void setDrawText(boolean drawText)
-
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)
-
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
-
clone
public Object clone()
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-
-