Package net.sf.jasperreports.barcode4j
Class AbstractBarcodeEvaluator
- java.lang.Object
-
- net.sf.jasperreports.barcode4j.AbstractBarcodeEvaluator
-
- All Implemented Interfaces:
BarcodeVisitor
- Direct Known Subclasses:
BarcodeDesignEvaluator
,BarcodeEvaluator
public abstract class AbstractBarcodeEvaluator extends Object implements BarcodeVisitor
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description protected org.krysalis.barcode4j.impl.AbstractBarcodeBean
barcodeBean
protected BarcodeComponent
barcodeComponent
protected JRComponentElement
componentElement
protected JRDefaultStyleProvider
defaultStyleProvider
protected JasperReportsContext
jasperReportsContext
protected String
message
protected QRCodeBean
qrCodeBean
protected Renderable
renderable
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractBarcodeEvaluator(JasperReportsContext jasperReportsContext, JRComponentElement componentElement, JRDefaultStyleProvider defaultStyleProvider)
-
Method Summary
-
-
-
Field Detail
-
jasperReportsContext
protected final JasperReportsContext jasperReportsContext
-
componentElement
protected final JRComponentElement componentElement
-
barcodeComponent
protected final BarcodeComponent barcodeComponent
-
defaultStyleProvider
protected final JRDefaultStyleProvider defaultStyleProvider
-
message
protected String message
-
barcodeBean
protected org.krysalis.barcode4j.impl.AbstractBarcodeBean barcodeBean
-
qrCodeBean
protected QRCodeBean qrCodeBean
-
renderable
protected Renderable renderable
-
-
Constructor Detail
-
AbstractBarcodeEvaluator
protected AbstractBarcodeEvaluator(JasperReportsContext jasperReportsContext, JRComponentElement componentElement, JRDefaultStyleProvider defaultStyleProvider)
-
-
Method Detail
-
evaluateBarcode
public void evaluateBarcode()
-
getRenderable
public Renderable getRenderable()
-
evaluateBarcodeRenderable
protected void evaluateBarcodeRenderable(BarcodeComponent barcodeComponent)
-
evaluateBarcodeRenderable
protected void evaluateBarcodeRenderable(QRCodeBean qrCodeBean)
-
setBaseAttributes
protected void setBaseAttributes(Barcode4jComponent barcodeComponent)
-
getElementStyle
protected JRStyle getElementStyle()
-
visitCodabar
public void visitCodabar(CodabarComponent codabar)
- Specified by:
visitCodabar
in interfaceBarcodeVisitor
-
evaluateCodabar
protected abstract void evaluateCodabar(CodabarComponent codabar)
-
visitCode128
public void visitCode128(Code128Component code128)
- Specified by:
visitCode128
in interfaceBarcodeVisitor
-
evaluateCode128
protected abstract void evaluateCode128(Code128Component code128)
-
visitDataMatrix
public void visitDataMatrix(DataMatrixComponent dataMatrix)
- Specified by:
visitDataMatrix
in interfaceBarcodeVisitor
-
evaluateDataMatrix
protected abstract void evaluateDataMatrix(DataMatrixComponent dataMatrix)
-
visitEANCode128
public void visitEANCode128(EAN128Component ean128)
- Specified by:
visitEANCode128
in interfaceBarcodeVisitor
-
evaluateEANCode128
protected abstract void evaluateEANCode128(EAN128Component ean128)
-
visitCode39
public void visitCode39(Code39Component code39)
- Specified by:
visitCode39
in interfaceBarcodeVisitor
-
evaluateCode39
protected abstract void evaluateCode39(Code39Component code39)
-
evaluateInterleaved2Of5
protected abstract void evaluateInterleaved2Of5(Interleaved2Of5Component interleaved2Of5)
-
visitInterleaved2Of5
public void visitInterleaved2Of5(Interleaved2Of5Component interleaved2Of5)
- Specified by:
visitInterleaved2Of5
in interfaceBarcodeVisitor
-
visitUPCA
public void visitUPCA(UPCAComponent upcA)
- Specified by:
visitUPCA
in interfaceBarcodeVisitor
-
evaluateUPCA
protected abstract void evaluateUPCA(UPCAComponent upcA)
-
visitUPCE
public void visitUPCE(UPCEComponent upcE)
- Specified by:
visitUPCE
in interfaceBarcodeVisitor
-
evaluateUPCE
protected abstract void evaluateUPCE(UPCEComponent upcE)
-
visitEAN13
public void visitEAN13(EAN13Component ean13)
- Specified by:
visitEAN13
in interfaceBarcodeVisitor
-
evaluateEAN13
protected abstract void evaluateEAN13(EAN13Component ean13)
-
visitEAN8
public void visitEAN8(EAN8Component ean8)
- Specified by:
visitEAN8
in interfaceBarcodeVisitor
-
evaluateEAN8
protected abstract void evaluateEAN8(EAN8Component ean8)
-
visitRoyalMailCustomer
public void visitRoyalMailCustomer(RoyalMailCustomerComponent royalMailCustomer)
- Specified by:
visitRoyalMailCustomer
in interfaceBarcodeVisitor
-
setFourStateAttributes
protected void setFourStateAttributes(FourStateBarcodeComponent barcodeComponent, org.krysalis.barcode4j.impl.fourstate.AbstractFourStateBean barcodeBean)
-
evaluateRoyalMailCustomer
protected abstract void evaluateRoyalMailCustomer(RoyalMailCustomerComponent royalMailCustomer)
-
visitUSPSIntelligentMail
public void visitUSPSIntelligentMail(USPSIntelligentMailComponent intelligentMail)
- Specified by:
visitUSPSIntelligentMail
in interfaceBarcodeVisitor
-
evaluateUSPSIntelligentMail
protected abstract void evaluateUSPSIntelligentMail(USPSIntelligentMailComponent intelligentMail)
-
visitPostnet
public void visitPostnet(POSTNETComponent postnet)
- Specified by:
visitPostnet
in interfaceBarcodeVisitor
-
evaluatePOSTNET
protected abstract void evaluatePOSTNET(POSTNETComponent intelligentMail)
-
visitPDF417
public void visitPDF417(PDF417Component pdf417)
- Specified by:
visitPDF417
in interfaceBarcodeVisitor
-
evaluatePDF417
protected abstract void evaluatePDF417(PDF417Component pdf417)
-
visitQRCode
public void visitQRCode(QRCodeComponent qrCode)
- Specified by:
visitQRCode
in interfaceBarcodeVisitor
-
evaluateQRCode
protected abstract void evaluateQRCode(QRCodeComponent qrCode)
-
-