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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from interface net.sf.jasperreports.barbecue.BarbecueComponent
METADATA_KEY_QUALIFICATION
-
Constructor Summary
ConstructorsConstructorDescriptionStandardBarbecueComponent
(BarbecueComponent barcode, JRBaseObjectFactory objectFactory) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Gets the evaluation group for this text field.Gets the evaluation time for this text field.Returns the property change support object for this instance.getType()
boolean
boolean
void
setApplicationIdentifierExpression
(JRExpression applicationIdentifierExpression) void
setBarHeight
(Integer barHeight) void
setBarWidth
(Integer barWidth) void
setChecksumRequired
(boolean checksumRequired) void
setCodeExpression
(JRExpression codeExpression) void
setContext
(ComponentContext context) void
setDrawText
(boolean drawText) void
setEvaluationGroup
(String evaluationGroup) void
setEvaluationTime
(EvaluationTimeEnum evaluationTime) void
setRotation
(RotationEnum rotation) void
-
Field Details
-
PROPERTY_TYPE
- See Also:
-
PROPERTY_CODE_EXPRESSION
- See Also:
-
PROPERTY_APPLICATION_IDENTIFIER_EXPRESSION
- See Also:
-
PROPERTY_DRAW_TEXT
- See Also:
-
PROPERTY_CHECKSUM_REQUIRED
- See Also:
-
PROPERTY_BAR_WIDTH
- See Also:
-
PROPERTY_BAR_HEIGTH
- See Also:
-
PROPERTY_EVALUATION_TIME
- See Also:
-
PROPERTY_EVALUATION_GROUP
- See Also:
-
PROPERTY_ROTATION
- See Also:
-
-
Constructor Details
-
StandardBarbecueComponent
public StandardBarbecueComponent() -
StandardBarbecueComponent
-
-
Method Details
-
setContext
- Specified by:
setContext
in interfaceContextAwareComponent
-
getContext
- Specified by:
getContext
in interfaceContextAwareComponent
-
getCodeExpression
- Specified by:
getCodeExpression
in interfaceBarbecueComponent
-
setCodeExpression
-
getType
- Specified by:
getType
in interfaceBarbecueComponent
-
setType
-
getApplicationIdentifierExpression
- Specified by:
getApplicationIdentifierExpression
in interfaceBarbecueComponent
-
setApplicationIdentifierExpression
-
getBarWidth
- Specified by:
getBarWidth
in interfaceBarbecueComponent
-
setBarWidth
-
getBarHeight
- Specified by:
getBarHeight
in interfaceBarbecueComponent
-
setBarHeight
-
getRotation
- Specified by:
getRotation
in interfaceBarbecueComponent
-
getOwnRotation
- Specified by:
getOwnRotation
in interfaceBarbecueComponent
-
setRotation
-
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
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
-
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:
-
setEvaluationGroup
-
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
- Specified by:
clone
in interfaceJRCloneable
- Overrides:
clone
in classObject
-