Class QRCodeComponent
- java.lang.Object
-
- net.sf.jasperreports.components.barcode4j.BarcodeComponent
-
- net.sf.jasperreports.components.barcode4j.QRCodeComponent
-
- All Implemented Interfaces:
Serializable,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 StringCOMPONENT_DESIGNATIONstatic StringPROPERTY_DEFAULT_ENCODINGstatic StringPROPERTY_ERROR_CORRECTION_LEVELstatic StringPROPERTY_MARGINstatic StringPROPERTY_QR_VERSIONstatic 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 StringgetDesignation()ErrorCorrectionLevelEnumgetErrorCorrectionLevel()IntegergetMargin()IntegergetQrVersion()voidreceive(BarcodeVisitor visitor)voidsetErrorCorrectionLevel(ErrorCorrectionLevelEnum errorCorrectionLevel)voidsetMargin(Integer margin)voidsetQrVersion(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 String COMPONENT_DESIGNATION
- See Also:
- Constant Field Values
-
PROPERTY_MARGIN
public static final String PROPERTY_MARGIN
- See Also:
- Constant Field Values
-
PROPERTY_ERROR_CORRECTION_LEVEL
public static final String PROPERTY_ERROR_CORRECTION_LEVEL
- See Also:
- Constant Field Values
-
PROPERTY_QR_VERSION
public static final String PROPERTY_QR_VERSION
- See Also:
- Constant Field Values
-
PROPERTY_DEFAULT_ENCODING
public static final String PROPERTY_DEFAULT_ENCODING
- See Also:
- Constant Field Values
-
PROPERTY_QRCODE_CHARACTER_ENCODING
public static final 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 Integer getMargin()
-
setMargin
public void setMargin(Integer margin)
-
getErrorCorrectionLevel
public ErrorCorrectionLevelEnum getErrorCorrectionLevel()
-
setErrorCorrectionLevel
public void setErrorCorrectionLevel(ErrorCorrectionLevelEnum errorCorrectionLevel)
-
getQrVersion
public Integer getQrVersion()
-
setQrVersion
public void setQrVersion(Integer qrVersion)
-
getDesignation
public String getDesignation()
-
-