com.stimulsoft.report.barCodes
Class StiUpcSup2BarCodeType

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.base.services.StiService
          extended by com.stimulsoft.report.barCodes.StiBarCodeTypeService
              extended by com.stimulsoft.report.barCodes.StiEAN13BarCodeType
                  extended by com.stimulsoft.report.barCodes.StiUpcSup2BarCodeType
All Implemented Interfaces:
IStiSerializable, IStiSerializableRef, java.lang.Cloneable

public class StiUpcSup2BarCodeType
extends StiEAN13BarCodeType

The class describes the Barcode type - UPC-Sup2.


Field Summary
 
Fields inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
visiblePropertiesCount
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiUpcSup2BarCodeType()
           
StiUpcSup2BarCodeType(double module, double height, StiEanSupplementType supplementType, java.lang.String supplementCodeValue, boolean showQuietZoneIndicator)
           
 
Method Summary
 void draw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom)
          Draws the bar code with the specified parameters.
 java.lang.String getDefaultCodeValue()
           
 java.lang.String getServiceName()
          Gets a service name.
 java.lang.String getSupplementCode()
          Gets or sets the component supplement bar code.
 StiEanSupplementType getSupplementType()
          Gets or sets type of supplement code.
 void setSupplementCode(java.lang.String value)
           
 void setSupplementType(StiEanSupplementType value)
           
 
Methods inherited from class com.stimulsoft.report.barCodes.StiEAN13BarCodeType
getHeight, getLabelFontHeight, getModule, getShowQuietZoneIndicator, LoadFromJsonObject, SaveToJsonObject, setHeight, setModule, setShowQuietZoneIndicator
 
Methods inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
GetCode, getCombinedCode, getExportPainter, getServiceCategory, getServiceType, LoadFromJsonObjectInternal, setExportPainter, toString
 
Methods inherited from class com.stimulsoft.base.services.StiService
clone, getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabled
 
Methods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StiUpcSup2BarCodeType

public StiUpcSup2BarCodeType()

StiUpcSup2BarCodeType

public StiUpcSup2BarCodeType(double module,
                             double height,
                             StiEanSupplementType supplementType,
                             java.lang.String supplementCodeValue,
                             boolean showQuietZoneIndicator)
Method Detail

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.lang.Exception

getSupplementType

public StiEanSupplementType getSupplementType()
Description copied from class: StiEAN13BarCodeType
Gets or sets type of supplement code.

Overrides:
getSupplementType in class StiEAN13BarCodeType

setSupplementType

public void setSupplementType(StiEanSupplementType value)
Overrides:
setSupplementType in class StiEAN13BarCodeType

getSupplementCode

public java.lang.String getSupplementCode()
Description copied from class: StiEAN13BarCodeType
Gets or sets the component supplement bar code.

Overrides:
getSupplementCode in class StiEAN13BarCodeType

setSupplementCode

public void setSupplementCode(java.lang.String value)
Overrides:
setSupplementCode in class StiEAN13BarCodeType

getDefaultCodeValue

public java.lang.String getDefaultCodeValue()
Overrides:
getDefaultCodeValue in class StiEAN13BarCodeType