Class Barcode4jComponent
- java.lang.Object
-
- net.sf.jasperreports.components.barcode4j.BarcodeComponent
-
- net.sf.jasperreports.components.barcode4j.Barcode4jComponent
-
- All Implemented Interfaces:
Serializable,Cloneable,Component,JRChangeEventsSupport,JRCloneable,Designated
- Direct Known Subclasses:
CodabarComponent,Code128Component,Code39Component,DataMatrixComponent,EAN13Component,EAN8Component,FourStateBarcodeComponent,Interleaved2Of5Component,PDF417Component,POSTNETComponent,UPCAComponent,UPCEComponent
public abstract class Barcode4jComponent extends BarcodeComponent
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCOMPONENT_DESIGNATIONstatic StringPROPERTY_MODULE_WIDTHstatic StringPROPERTY_ORIENTATIONstatic StringPROPERTY_PATTERN_EXPRESSIONstatic StringPROPERTY_QUIET_ZONEstatic StringPROPERTY_TEXT_POSITIONstatic StringPROPERTY_VERTICAL_QUIET_ZONE-
Fields inherited from class net.sf.jasperreports.components.barcode4j.BarcodeComponent
PROPERTY_CODE_EXPRESSION, PROPERTY_EVALUATION_GROUP, PROPERTY_EVALUATION_TIME, PROPERTY_PREFIX
-
-
Constructor Summary
Constructors Constructor Description Barcode4jComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()protected voidcopyBarcodeComponentFields(ObjectInputStream.GetField fields)StringgetDesignation()DoublegetModuleWidth()OrientationEnumgetOrientationValue()JRExpressiongetPatternExpression()DoublegetQuietZone()TextPositionEnumgetTextPositionValue()DoublegetVerticalQuietZone()voidsetModuleWidth(Double moduleWidth)voidsetOrientation(OrientationEnum orientationValue)voidsetPatternExpression(JRExpression patternExpression)voidsetQuietZone(Double quietZone)voidsetTextPosition(TextPositionEnum textPositionValue)voidsetVerticalQuietZone(Double verticalQuietZone)-
Methods inherited from class net.sf.jasperreports.components.barcode4j.BarcodeComponent
cloneObject, getCodeExpression, getEvaluationGroup, getEvaluationTimeValue, getEventSupport, receive, setCodeExpression, setEvaluationGroup, setEvaluationTimeValue
-
-
-
-
Field Detail
-
COMPONENT_DESIGNATION
public static final String COMPONENT_DESIGNATION
- See Also:
- Constant Field Values
-
PROPERTY_ORIENTATION
public static final String PROPERTY_ORIENTATION
- See Also:
- Constant Field Values
-
PROPERTY_PATTERN_EXPRESSION
public static final String PROPERTY_PATTERN_EXPRESSION
- See Also:
- Constant Field Values
-
PROPERTY_MODULE_WIDTH
public static final String PROPERTY_MODULE_WIDTH
- See Also:
- Constant Field Values
-
PROPERTY_TEXT_POSITION
public static final String PROPERTY_TEXT_POSITION
- See Also:
- Constant Field Values
-
PROPERTY_QUIET_ZONE
public static final String PROPERTY_QUIET_ZONE
- See Also:
- Constant Field Values
-
PROPERTY_VERTICAL_QUIET_ZONE
public static final String PROPERTY_VERTICAL_QUIET_ZONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getOrientationValue
public OrientationEnum getOrientationValue()
-
setOrientation
public void setOrientation(OrientationEnum orientationValue)
-
getPatternExpression
public JRExpression getPatternExpression()
-
setPatternExpression
public void setPatternExpression(JRExpression patternExpression)
-
getModuleWidth
public Double getModuleWidth()
-
setModuleWidth
public void setModuleWidth(Double moduleWidth)
-
getTextPositionValue
public TextPositionEnum getTextPositionValue()
-
setTextPosition
public void setTextPosition(TextPositionEnum textPositionValue)
-
clone
public Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classBarcodeComponent
-
getQuietZone
public Double getQuietZone()
-
setQuietZone
public void setQuietZone(Double quietZone)
-
getVerticalQuietZone
public Double getVerticalQuietZone()
-
setVerticalQuietZone
public void setVerticalQuietZone(Double verticalQuietZone)
-
copyBarcodeComponentFields
protected final void copyBarcodeComponentFields(ObjectInputStream.GetField fields) throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
getDesignation
public String getDesignation()
-
-