com.stimulsoft.report.barCodes
Class StiUpcEBarCodeType
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.StiUpcEBarCodeType
- All Implemented Interfaces:
- IStiSerializable, IStiSerializableRef, java.lang.Cloneable
public class StiUpcEBarCodeType
- extends StiEAN13BarCodeType
The class describes the Barcode type - UPC-E.
| Methods inherited from class com.stimulsoft.report.barCodes.StiEAN13BarCodeType |
CalculateSizeEan, drawEanBars, getEanLineHeightForCut, getEanLineHeightLong, getEanLineHeightShort, getEanMainHeight, getEanSpaceBeforeAdd, getEanSpaceBottom, getEanSpaceTextTop, getEanSpaceTop, getEanTextHeight, getEanTextPositionBottom, getEanTextPositionTop, getEanWideToNarrowRatio, getHeight, getLabelFontHeight, getModule, getSupplementCode, getSupplementType, GetSymbolWidth, IsSymbolSpace, LoadFromJsonObject, MakeEan13Bars, MakeEanAdd2Bars, MakeEanAdd5Bars, makeLonger, SaveToJsonObject, setHeight, setModule, setSupplementCode, setSupplementType |
| Methods inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService |
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, LoadFromJsonObjectInternal, rollbackTransform, setExportPainter, toInts, toString, translateRect |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
symParitySet
protected java.lang.String[] symParitySet
StiUpcEBarCodeType
public StiUpcEBarCodeType()
StiUpcEBarCodeType
public StiUpcEBarCodeType(double module,
double height,
StiEanSupplementType supplementType,
java.lang.String supplementCodeValue,
boolean showQuietZoneIndicator)
getServiceName
public java.lang.String getServiceName()
- Gets a service name.
- Overrides:
getServiceName in class StiEAN13BarCodeType
getEanSpaceLeft
protected double getEanSpaceLeft()
- Overrides:
getEanSpaceLeft in class StiEAN13BarCodeType
getEanSpaceRight
protected double getEanSpaceRight()
- Overrides:
getEanSpaceRight in class StiEAN13BarCodeType
getShowQuietZoneIndicator
public boolean getShowQuietZoneIndicator()
- Description copied from class:
StiEAN13BarCodeType
- Gets or sets value which indicates will show Quiet Zone Indicator or no.
- Overrides:
getShowQuietZoneIndicator in class StiEAN13BarCodeType
setShowQuietZoneIndicator
public void setShowQuietZoneIndicator(boolean value)
- Overrides:
setShowQuietZoneIndicator in class StiEAN13BarCodeType
MakeUpcEBars
protected final java.util.ArrayList MakeUpcEBars(java.lang.String code,
boolean isLast)
draw
public void draw(StiGraphics context,
StiBarCode barCode,
StiRectangle rect,
double zoom)
throws java.lang.Exception
- Draws the bar code with the specified parameters.
- Overrides:
draw in class StiEAN13BarCodeType
- Parameters:
context - Context for drawing.shape - Component that invokes drawing.rect - The rectangle that shows coordinates for drawing.zoom - Zoom of drawing.
- Throws:
java.lang.Exception
getDefaultCodeValue
public java.lang.String getDefaultCodeValue()
- Overrides:
getDefaultCodeValue in class StiEAN13BarCodeType
Copyright © 2018 Stimulsoft. All Rights Reserved.