com.stimulsoft.report.barCodes
Class StiEAN8BarCodeType
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.StiEAN8BarCodeType
- All Implemented Interfaces:
- IStiSerializable, IStiSerializableRef, java.lang.Cloneable
- Direct Known Subclasses:
- StiJan8BarCodeType
public class StiEAN8BarCodeType
- extends StiEAN13BarCodeType
The class describes the Barcode type - EAN-8.
Methods inherited from class com.stimulsoft.report.barCodes.StiEAN13BarCodeType |
getHeight, getLabelFontHeight, getModule, getShowQuietZoneIndicator, getSupplementCode, getSupplementType, LoadFromJsonObject, SaveToJsonObject, setHeight, setModule, setShowQuietZoneIndicator, setSupplementCode, setSupplementType |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StiEAN8BarCodeType
public StiEAN8BarCodeType()
StiEAN8BarCodeType
public StiEAN8BarCodeType(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
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.io.IOException
java.lang.Exception
getDefaultCodeValue
public java.lang.String getDefaultCodeValue()
- Overrides:
getDefaultCodeValue
in class StiEAN13BarCodeType