Package com.stimulsoft.report.barCodes
Class StiJan13BarCodeType
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.barCodes.StiBarCodeTypeService
com.stimulsoft.report.barCodes.StiEAN13BarCodeType
com.stimulsoft.report.barCodes.StiJan13BarCodeType
- All Implemented Interfaces:
IStiSerializable,IStiSerializableRef,Cloneable
The class describes the Barcode type - JAN-13.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stimulsoft.report.barCodes.StiEAN13BarCodeType
StiEAN13BarCodeType.Ean13Symbol, StiEAN13BarCodeType.EanBarInfoNested 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.StiEAN13BarCodeType
ean13SymData, symComboSet, symParitySetAdd2, symParitySetAdd5Fields 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
ConstructorsConstructorDescriptionStiJan13BarCodeType(double module, double height, StiEanSupplementType supplementType, String supplementCodeValue, boolean showQuietZoneIndicator) -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom) Draws the bar code with the specified parameters.Gets a service name.Methods inherited from class com.stimulsoft.report.barCodes.StiEAN13BarCodeType
CalculateSizeEan, drawEanBars, getEanLineHeightForCut, getEanLineHeightLong, getEanLineHeightShort, getEanMainHeight, getEanSpaceBeforeAdd, getEanSpaceBottom, getEanSpaceLeft, getEanSpaceRight, getEanSpaceTextTop, getEanSpaceTop, getEanTextHeight, getEanTextPositionBottom, getEanTextPositionTop, getEanWideToNarrowRatio, getHeight, getLabelFontHeight, getModule, getShowQuietZoneIndicator, getSupplementCode, getSupplementType, GetSymbolWidth, IsSymbolSpace, LoadFromJsonObject, MakeEan13Bars, MakeEanAdd2Bars, MakeEanAdd5Bars, makeLonger, SaveToJsonObject, setHeight, setModule, setShowQuietZoneIndicator, setSupplementCode, setSupplementTypeMethods 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, getTextAlignment, IsSymbolLong, IsSymbolPostDescend, 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
-
StiJan13BarCodeType
public StiJan13BarCodeType() -
StiJan13BarCodeType
public StiJan13BarCodeType(double module, double height, StiEanSupplementType supplementType, String supplementCodeValue, boolean showQuietZoneIndicator)
-
-
Method Details
-
getServiceName
Gets a service name.- Overrides:
getServiceNamein classStiEAN13BarCodeType
-
draw
public void draw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom) throws Exception Draws the bar code with the specified parameters.- Overrides:
drawin classStiEAN13BarCodeType- Parameters:
context- Context for drawing.rect- The rectangle that shows coordinates for drawing.zoom- Zoom of drawing.shape- Component that invokes drawing.- Throws:
Exception
-
getDefaultCodeValue
- Overrides:
getDefaultCodeValuein classStiEAN13BarCodeType
-