Class QRCodeComponent
- java.lang.Object
-
- net.sf.jasperreports.components.barcode4j.BarcodeComponent
-
- net.sf.jasperreports.components.barcode4j.QRCodeComponent
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,Component,JRChangeEventsSupport,JRCloneable,Designated
public class QRCodeComponent extends BarcodeComponent
Contains the main settings for the QRCode component- Author:
- Sanda Zaharia (shertage@users.sourceforge.net)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOMPONENT_DESIGNATIONstatic java.lang.StringPROPERTY_DEFAULT_ENCODINGstatic java.lang.StringPROPERTY_ERROR_CORRECTION_LEVELstatic java.lang.StringPROPERTY_MARGINstatic java.lang.StringPROPERTY_QR_VERSIONstatic java.lang.StringPROPERTY_QRCODE_CHARACTER_ENCODINGProperty that provides the character encoding to be used for QR code component elements.-
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 QRCodeComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDesignation()ErrorCorrectionLevelEnumgetErrorCorrectionLevel()java.lang.IntegergetMargin()java.lang.IntegergetQrVersion()voidreceive(BarcodeVisitor visitor)voidsetErrorCorrectionLevel(ErrorCorrectionLevelEnum errorCorrectionLevel)voidsetMargin(java.lang.Integer margin)voidsetQrVersion(java.lang.Integer qrVersion)-
Methods inherited from class net.sf.jasperreports.components.barcode4j.BarcodeComponent
clone, cloneObject, getCodeExpression, getEvaluationGroup, getEvaluationTimeValue, getEventSupport, setCodeExpression, setEvaluationGroup, setEvaluationTimeValue
-
-
-
-
Field Detail
-
COMPONENT_DESIGNATION
public static final java.lang.String COMPONENT_DESIGNATION
- See Also:
- Constant Field Values
-
PROPERTY_MARGIN
public static final java.lang.String PROPERTY_MARGIN
- See Also:
- Constant Field Values
-
PROPERTY_ERROR_CORRECTION_LEVEL
public static final java.lang.String PROPERTY_ERROR_CORRECTION_LEVEL
- See Also:
- Constant Field Values
-
PROPERTY_QR_VERSION
public static final java.lang.String PROPERTY_QR_VERSION
- See Also:
- Constant Field Values
-
PROPERTY_DEFAULT_ENCODING
public static final java.lang.String PROPERTY_DEFAULT_ENCODING
- See Also:
- Constant Field Values
-
PROPERTY_QRCODE_CHARACTER_ENCODING
public static final java.lang.String PROPERTY_QRCODE_CHARACTER_ENCODING
Property that provides the character encoding to be used for QR code component elements.The property can be set at context/global, report and component element levels. The default encoding is UTF-8.
- See Also:
- Constant Field Values
-
-
Method Detail
-
receive
public void receive(BarcodeVisitor visitor)
- Specified by:
receivein classBarcodeComponent
-
getMargin
public java.lang.Integer getMargin()
-
setMargin
public void setMargin(java.lang.Integer margin)
-
getErrorCorrectionLevel
public ErrorCorrectionLevelEnum getErrorCorrectionLevel()
-
setErrorCorrectionLevel
public void setErrorCorrectionLevel(ErrorCorrectionLevelEnum errorCorrectionLevel)
-
getQrVersion
public java.lang.Integer getQrVersion()
-
setQrVersion
public void setQrVersion(java.lang.Integer qrVersion)
-
getDesignation
public java.lang.String getDesignation()
-
-