const _MwWrapper = require("../_mwbridge/_mw-wrapper.js");
/**
* PatchCode parameters.
*/
class PatchCodeParameters extends _MwWrapper
{
constructor(mwObject)
{
super(mwObject);
this._initializeWrapperMembers();
}
_initializeWrapperMembers()
{
}
/**
* Specifies codetext for an extra QR barcode, when PatchCode is generated in page mode.
*/
getExtraBarcodeText()
{
return this.getJavaClass().getExtraBarcodeTextSync();
}
/**
* Specifies codetext for an extra QR barcode, when PatchCode is generated in page mode.
*/
setExtraBarcodeText(value)
{
this.getJavaClass().setExtraBarcodeTextSync(value);
}
/**
* <p>
* PatchCode format. Choose PatchOnly to generate single PatchCode. Use page format to generate Patch page with PatchCodes as borders.
* Default value: PatchFormat.PatchOnly
* </p>
*/
getFormat()
{
return this.getJavaClass().getFormatSync();
}
/**
* <p>
* PatchCode format. Choose PatchOnly to generate single PatchCode. Use page format to generate Patch page with PatchCodes as borders.
* Default value: PatchFormat.PatchOnly
* </p>
*/
setFormat(value)
{
this.getJavaClass().setFormatSync(value);
}
/**
* PatchCode format. Choose PatchOnly to generate single PatchCode. Use page format to generate Patch page with PatchCodes as borders.<br>
* Default value: PatchFormat.PATCH_ONLY
*
* @return PatchFormat
* @deprecated This property is obsolete and will be removed in future releases. Instead, use the getFormat().
*/
getPatchFormat()
{
return this.getJavaClass().getPatchFormatSync();
}
/**
* PatchCode format. Choose PatchOnly to generate single PatchCode. Use page format to generate Patch page with PatchCodes as borders.<br>
* Default value: PatchFormat.PATCH_ONLY
* @deprecated This property is obsolete and will be removed in future releases. Instead, use the setFormat().
*/
setPatchFormat(value)
{
this.getJavaClass().setPatchFormatSync(value);
}
/**
* Returns a human-readable string representation of this {PatchCodeParameters}<br>
* @return string value that represents PatchCodeParameters
*/
toString()
{
return this.getJavaClass().toStringSync();
}
}
module.exports = PatchCodeParameters;