Package com.stimulsoft.report.barCodes
Class StiCode39BarCodeType
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.barCodes.StiBarCodeTypeService
com.stimulsoft.report.barCodes.StiCode39BarCodeType
- All Implemented Interfaces:
IStiSerializable,IStiSerializableRef,Cloneable
- Direct Known Subclasses:
StiCode39ExtBarCodeType
The class describes the Barcode type - Code-39.
-
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 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
ConstructorsConstructorDescriptionStiCode39BarCodeType(double module, double height, double ratio, StiCheckSum checkSum) -
Method Summary
Modifier and TypeMethodDescriptionprotected final Stringvoiddraw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom) final StiCheckSumGets 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.final doublegetRatio()Get or sets value, which indicates WideToNarrow ratio.Gets a service name.voidLoadFromJsonObject(JSONObject jObject) final voidsetCheckSum(StiCheckSum value) voidsetHeight(double value) voidsetModule(double value) final voidsetRatio(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
-
Code39Symbols
-
Code39StartStopSymbolIndex
protected int Code39StartStopSymbolIndex -
Code39Table
-
Code39SpaceLeft
protected static final double Code39SpaceLeft- See Also:
-
Code39SpaceRight
protected static final double Code39SpaceRight- See Also:
-
Code39SpaceTop
protected static final double Code39SpaceTop- See Also:
-
Code39SpaceBottom
protected static final double Code39SpaceBottom- See Also:
-
Code39LineHeightShort
protected static final double Code39LineHeightShort- See Also:
-
Code39LineHeightLong
protected static final double Code39LineHeightLong- See Also:
-
Code39TextPosition
protected static final double Code39TextPosition- See Also:
-
Code39TextHeight
protected static final double Code39TextHeight- See Also:
-
Code39MainHeight
protected static final double Code39MainHeight- See Also:
-
Code39LineHeightForCut
protected static final double Code39LineHeightForCut- See Also:
-
-
Constructor Details
-
StiCode39BarCodeType
public StiCode39BarCodeType() -
StiCode39BarCodeType
-
-
Method Details
-
getServiceName
Gets a service name.- Overrides:
getServiceNamein classStiService
-
getCheckSum
Gets or sets mode of checksum. -
setCheckSum
-
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
-
getRatio
public final double getRatio()Get or sets value, which indicates WideToNarrow ratio. -
setRatio
public final void setRatio(double value) -
getLabelFontHeight
public double getLabelFontHeight()- Specified by:
getLabelFontHeightin classStiBarCodeTypeService
-
CodeToBar
-
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
-