Package com.stimulsoft.report.barCodes
Class StiMaxicodeBarCodeType
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.barCodes.StiBarCodeTypeService
com.stimulsoft.report.barCodes.StiMaxicodeBarCodeType
- All Implemented Interfaces:
IStiSerializable,IStiSerializableRef,Cloneable
Copyright Stimulsoft
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
StiBarCodeTypeService.BarcodeCommandCode, StiBarCodeTypeService.StiBarCodeData, StiBarCodeTypeService.ValueObject -
Field Summary
Fields inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
DefaultLabelFontHeight, RectWindow, visiblePropertiesCountFields inherited from class com.stimulsoft.base.services.StiService
propertiesFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
ConstructorsConstructorDescriptionStiMaxicodeBarCodeType(StiMaxicodeMode mode, int structuredAppendPosition, int structuredAppendTotal, boolean processTilde, boolean trimExcessData) -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom) doubledoublegetMode()Gets or sets the mode of the Maxicode.doubleGets a service name.intGets or sets the structured append Position.intThe structured append Total.Boolean[]booleanthe flag that indicates whether the data message supports character '~' as the escape.booleana value indicating whether it is necessary to trim excess data if the data length exceeds the capacity of the barcode.voidLoadFromJsonObject(JSONObject jObject) voidsetHeight(double value) voidsetMode(StiMaxicodeMode value) Gets or sets the mode of the Maxicode.voidsetModule(double value) voidsetProcessTilde(boolean processTilde) the flag that indicates whether the data message supports character '~' as the escape.voidsetStructuredAppendPosition(int structuredAppendPosition) Gets or sets the structured append Position.voidsetStructuredAppendTotal(int structuredAppendTotal) The structured append Total.voidsetTrimExcessData(boolean trimExcessData) a value indicating whether it is necessary to trim excess data if the data length exceeds the capacity of the barcode.Methods inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
baseDrawImage, baseDrawRectangle, baseDrawString, baseFillEllipse, baseFillPolygon, baseFillRectangle, baseFillRectangle2D, baseMeasureString, baseRollbackTransform, baseTransform, CalculateSize2, CalculateSizeFull, CheckCodeSymbols, draw2DBarCode, drawBarCode, drawBarCodeError, drawBarCodeError, drawBars, drawMaxicode, getBarCodeData, GetCode, getCombinedCode, getExportPainter, getServiceCategory, getServiceType, GetSymbolsStringWidth, GetSymbolWidth, getTextAlignment, IsSymbolLong, IsSymbolPostDescend, IsSymbolSpace, isTextSpacing, LoadFromJsonObjectInternal, rollbackTransform, setExportPainter, toInts, toString, translateRect, unpackTilde, unpackTildeMethods inherited from class com.stimulsoft.base.services.StiService
clone, getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabledMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
-
Constructor Details
-
StiMaxicodeBarCodeType
public StiMaxicodeBarCodeType() -
StiMaxicodeBarCodeType
public StiMaxicodeBarCodeType(StiMaxicodeMode mode, int structuredAppendPosition, int structuredAppendTotal, boolean processTilde, boolean trimExcessData)
-
-
Method Details
-
SaveToJsonObject
- Overrides:
SaveToJsonObjectin classStiBarCodeTypeService- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin classStiBarCodeTypeService- Throws:
JSONException
-
getComponentId
-
getServiceName
Description copied from class:StiServiceGets a service name.- Overrides:
getServiceNamein classStiService
-
getDefaultCodeValue
- Specified by:
getDefaultCodeValuein classStiBarCodeTypeService
-
getModule
public double getModule()- Specified by:
getModulein classStiBarCodeTypeService
-
getHeight
public double getHeight()- Specified by:
getHeightin classStiBarCodeTypeService
-
getMode
Gets or sets the mode of the Maxicode.- Returns:
-
setMode
Gets or sets the mode of the Maxicode. -
isProcessTilde
public boolean isProcessTilde()the flag that indicates whether the data message supports character '~' as the escape. Escape sequence must have format '~ddd', where number from 0 to 255 (eg. "~000", "~029" etc.)- Returns:
- the processTilde
-
setProcessTilde
public void setProcessTilde(boolean processTilde) the flag that indicates whether the data message supports character '~' as the escape. Escape sequence must have format '~ddd', where number from 0 to 255 (eg. "~000", "~029" etc.)- Parameters:
processTilde- the processTilde to set
-
getStructuredAppendPosition
public int getStructuredAppendPosition()Gets or sets the structured append Position.- Returns:
- the structuredAppendPosition
-
setStructuredAppendPosition
public void setStructuredAppendPosition(int structuredAppendPosition) Gets or sets the structured append Position.- Parameters:
structuredAppendPosition- the structuredAppendPosition to set
-
getStructuredAppendTotal
public int getStructuredAppendTotal()The structured append Total.- Returns:
- the structuredAppendTotal
-
setStructuredAppendTotal
public void setStructuredAppendTotal(int structuredAppendTotal) The structured append Total.- Parameters:
structuredAppendTotal- the structuredAppendTotal to set
-
isTrimExcessData
public boolean isTrimExcessData()a value indicating whether it is necessary to trim excess data if the data length exceeds the capacity of the barcode.- Returns:
- the trimExcessData
-
setTrimExcessData
public void setTrimExcessData(boolean trimExcessData) a value indicating whether it is necessary to trim excess data if the data length exceeds the capacity of the barcode.- Parameters:
trimExcessData- the trimExcessData to set
-
getLabelFontHeight
public double getLabelFontHeight()- Specified by:
getLabelFontHeightin classStiBarCodeTypeService
-
getVisibleProperties
-
draw
public void draw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom) throws Exception - Specified by:
drawin classStiBarCodeTypeService- Throws:
Exception
-
CreateNew
-
setModule
public void setModule(double value) - Specified by:
setModulein classStiBarCodeTypeService
-
setHeight
public void setHeight(double value) - Specified by:
setHeightin classStiBarCodeTypeService
-