Class Barcode4jComponent
- java.lang.Object
-
- net.sf.jasperreports.components.barcode4j.BarcodeComponent
-
- net.sf.jasperreports.components.barcode4j.Barcode4jComponent
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.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 java.lang.StringCOMPONENT_DESIGNATIONstatic java.lang.StringPROPERTY_MODULE_WIDTHstatic java.lang.StringPROPERTY_ORIENTATIONstatic java.lang.StringPROPERTY_PATTERN_EXPRESSIONstatic java.lang.StringPROPERTY_QUIET_ZONEstatic java.lang.StringPROPERTY_TEXT_POSITIONstatic java.lang.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 java.lang.Objectclone()protected voidcopyBarcodeComponentFields(java.io.ObjectInputStream.GetField fields)java.lang.StringgetDesignation()java.lang.DoublegetModuleWidth()OrientationEnumgetOrientationValue()JRExpressiongetPatternExpression()java.lang.DoublegetQuietZone()TextPositionEnumgetTextPositionValue()java.lang.DoublegetVerticalQuietZone()voidsetModuleWidth(java.lang.Double moduleWidth)voidsetOrientation(OrientationEnum orientationValue)voidsetPatternExpression(JRExpression patternExpression)voidsetQuietZone(java.lang.Double quietZone)voidsetTextPosition(TextPositionEnum textPositionValue)voidsetVerticalQuietZone(java.lang.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 java.lang.String COMPONENT_DESIGNATION
- See Also:
- Constant Field Values
-
PROPERTY_ORIENTATION
public static final java.lang.String PROPERTY_ORIENTATION
- See Also:
- Constant Field Values
-
PROPERTY_PATTERN_EXPRESSION
public static final java.lang.String PROPERTY_PATTERN_EXPRESSION
- See Also:
- Constant Field Values
-
PROPERTY_MODULE_WIDTH
public static final java.lang.String PROPERTY_MODULE_WIDTH
- See Also:
- Constant Field Values
-
PROPERTY_TEXT_POSITION
public static final java.lang.String PROPERTY_TEXT_POSITION
- See Also:
- Constant Field Values
-
PROPERTY_QUIET_ZONE
public static final java.lang.String PROPERTY_QUIET_ZONE
- See Also:
- Constant Field Values
-
PROPERTY_VERTICAL_QUIET_ZONE
public static final java.lang.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 java.lang.Double getModuleWidth()
-
setModuleWidth
public void setModuleWidth(java.lang.Double moduleWidth)
-
getTextPositionValue
public TextPositionEnum getTextPositionValue()
-
setTextPosition
public void setTextPosition(TextPositionEnum textPositionValue)
-
clone
public java.lang.Object clone()
- Specified by:
clonein interfaceJRCloneable- Overrides:
clonein classBarcodeComponent
-
getQuietZone
public java.lang.Double getQuietZone()
-
setQuietZone
public void setQuietZone(java.lang.Double quietZone)
-
getVerticalQuietZone
public java.lang.Double getVerticalQuietZone()
-
setVerticalQuietZone
public void setVerticalQuietZone(java.lang.Double verticalQuietZone)
-
copyBarcodeComponentFields
protected final void copyBarcodeComponentFields(java.io.ObjectInputStream.GetField fields) throws java.io.IOException, java.lang.ClassNotFoundException- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
getDesignation
public java.lang.String getDesignation()
-
-