Package net.sf.jasperreports.barcode4j
Class QRCodeComponent
- java.lang.Object
-
- net.sf.jasperreports.barcode4j.BarcodeComponent
-
- net.sf.jasperreports.barcode4j.QRCodeComponent
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Component
,JRChangeEventsSupport
,JRCloneable
,JREvaluation
,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 String
COMPONENT_DESIGNATION
static String
PROPERTY_DEFAULT_ENCODING
static String
PROPERTY_ERROR_CORRECTION_LEVEL
static String
PROPERTY_MARGIN
static String
PROPERTY_QR_VERSION
static String
PROPERTY_QRCODE_CHARACTER_ENCODING
Property that provides the character encoding to be used for QR code component elements.-
Fields inherited from class net.sf.jasperreports.barcode4j.BarcodeComponent
COMPONENT_NAME_PREFIX, 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 String
getDesignation()
ErrorCorrectionLevelEnum
getErrorCorrectionLevel()
Integer
getMargin()
Integer
getQrVersion()
void
receive(BarcodeVisitor visitor)
void
setErrorCorrectionLevel(ErrorCorrectionLevelEnum errorCorrectionLevel)
void
setMargin(Integer margin)
void
setQrVersion(Integer qrVersion)
-
Methods inherited from class net.sf.jasperreports.barcode4j.BarcodeComponent
clone, cloneObject, getCodeExpression, getEvaluationGroup, getEvaluationTime, getEventSupport, setCodeExpression, setEvaluationGroup, setEvaluationTime
-
-
-
-
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:
receive
in 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()
-
-