Package com.stimulsoft.report.barCodes
Class StiUpcSup2BarCodeType
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.StiUpcSup2BarCodeType
- All Implemented Interfaces:
IStiSerializable,IStiSerializableRef,Cloneable
The class describes the Barcode type - UPC-Sup2.
-
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
ConstructorsConstructorDescriptionStiUpcSup2BarCodeType(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.Gets or sets the component supplement bar code.Gets or sets type of supplement code.voidsetSupplementCode(String value) voidMethods 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, GetSymbolWidth, IsSymbolSpace, LoadFromJsonObject, MakeEan13Bars, MakeEanAdd2Bars, MakeEanAdd5Bars, makeLonger, SaveToJsonObject, setHeight, setModule, setShowQuietZoneIndicatorMethods 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
-
StiUpcSup2BarCodeType
public StiUpcSup2BarCodeType() -
StiUpcSup2BarCodeType
public StiUpcSup2BarCodeType(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
-
getSupplementType
Description copied from class:StiEAN13BarCodeTypeGets or sets type of supplement code.- Overrides:
getSupplementTypein classStiEAN13BarCodeType
-
setSupplementType
- Overrides:
setSupplementTypein classStiEAN13BarCodeType
-
getSupplementCode
Description copied from class:StiEAN13BarCodeTypeGets or sets the component supplement bar code.- Overrides:
getSupplementCodein classStiEAN13BarCodeType
-
setSupplementCode
- Overrides:
setSupplementCodein classStiEAN13BarCodeType
-
getDefaultCodeValue
- Overrides:
getDefaultCodeValuein classStiEAN13BarCodeType
-