Package com.stimulsoft.report.barCodes
Class StiCode11BarCodeType
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.barCodes.StiBarCodeTypeService
com.stimulsoft.report.barCodes.StiCode11BarCodeType
- All Implemented Interfaces:
IStiSerializable,IStiSerializableRef,Cloneable
The class describes the Barcode type - Code11.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
StiBarCodeTypeService.BarcodeCommandCode, StiBarCodeTypeService.StiBarCodeData, StiBarCodeTypeService.ValueObject -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected intprotected Stringprotected String[]protected static final doubleprotected static final doubleprotected static final doubleFields 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
ConstructorsConstructorDescriptionStiCode11BarCodeType(double module, double height, StiCode11CheckSum checksum) -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom) final StiCode11CheckSumGets or sets mode of checksum.doubleGets os sets height factor of the bar code.doubledoubleGets or sets width of the most fine element of the bar code.Gets a service name.voidLoadFromJsonObject(JSONObject jObject) final voidsetChecksum(StiCode11CheckSum value) voidsetHeight(double value) voidsetModule(double value) 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
-
Field Details
-
Code11Symbols
-
Code11StartStopSymbolIndex
protected int Code11StartStopSymbolIndex -
Code11Table
-
Code11SpaceLeft
protected static final double Code11SpaceLeft- See Also:
-
Code11SpaceRight
protected static final double Code11SpaceRight- See Also:
-
Code11SpaceTop
protected static final double Code11SpaceTop- See Also:
-
Code11SpaceBottom
protected static final double Code11SpaceBottom- See Also:
-
Code11LineHeightShort
protected static final double Code11LineHeightShort- See Also:
-
Code11LineHeightLong
protected static final double Code11LineHeightLong- See Also:
-
Code11TextPosition
protected static final double Code11TextPosition- See Also:
-
Code11TextHeight
protected static final double Code11TextHeight- See Also:
-
Code11MainHeight
protected static final double Code11MainHeight- See Also:
-
Code11LineHeightForCut
protected static final double Code11LineHeightForCut- See Also:
-
defaultCode11Module
protected static final double defaultCode11Module- See Also:
-
-
Constructor Details
-
StiCode11BarCodeType
public StiCode11BarCodeType() -
StiCode11BarCodeType
-
-
Method Details
-
getServiceName
Gets a service name.- Overrides:
getServiceNamein classStiService
-
getModule
public double getModule()Gets or sets width of the most fine element of the bar code.- Specified by:
getModulein classStiBarCodeTypeService
-
setModule
public void setModule(double value) - Specified by:
setModulein classStiBarCodeTypeService
-
getHeight
public double getHeight()Gets os sets height factor of the bar code.- Specified by:
getHeightin classStiBarCodeTypeService
-
setHeight
public void setHeight(double value) - Specified by:
setHeightin classStiBarCodeTypeService
-
getChecksum
Gets or sets mode of checksum. -
setChecksum
-
getLabelFontHeight
public double getLabelFontHeight()- Specified by:
getLabelFontHeightin classStiBarCodeTypeService
-
draw
public void draw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom) throws Exception - Specified by:
drawin classStiBarCodeTypeService- Throws:
Exception
-
SaveToJsonObject
- Overrides:
SaveToJsonObjectin classStiBarCodeTypeService- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin classStiBarCodeTypeService- Throws:
JSONException
-
getDefaultCodeValue
- Specified by:
getDefaultCodeValuein classStiBarCodeTypeService
-