com.stimulsoft.report.barCodes
Class StiSSCC18BarCodeType

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.StiCode128BarCodeType
                  extended by com.stimulsoft.report.barCodes.StiCode128cBarCodeType
                      extended by com.stimulsoft.report.barCodes.StiSSCC18BarCodeType
All Implemented Interfaces:
IStiSerializable, IStiSerializableRef, java.lang.Cloneable

public class StiSSCC18BarCodeType
extends StiCode128cBarCodeType

Copyright Stimulsoft


Nested Class Summary
 
Nested classes/interfaces inherited from class com.stimulsoft.report.barCodes.StiCode128BarCodeType
StiCode128BarCodeType.ControlCodes
 
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
StiSSCC18BarCodeType()
           
StiSSCC18BarCodeType(float module, float height)
           
 
Method Summary
 StiBarCodeTypeService CreateNew()
           
 void draw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom)
           
 java.lang.String getCombinedCode()
           
 java.lang.String getCompanyPrefix()
          the GS1 Company Prefix (7-10 digits).
 StiComponentId getComponentId()
           
 java.lang.String getDefaultCodeValue()
           
 java.lang.String getExtensionDigit()
          the extension digit.
 java.lang.String getSerialNumber()
          the Serial Reference Numbers (6-9 digits).
 java.lang.String getServiceName()
          Gets a service name.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setCompanyPrefix(java.lang.String companyPrefix)
          the GS1 Company Prefix (7-10 digits).
 void setExtensionDigit(java.lang.String extensionDigit)
          the extension digit.
 void setSerialNumber(java.lang.String serialNumber)
          the Serial Reference Numbers (6-9 digits).
 
Methods inherited from class com.stimulsoft.report.barCodes.StiCode128BarCodeType
getHeight, getLabelFontHeight, getModule, setHeight, setModule
 
Methods inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
GetCode, 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

StiSSCC18BarCodeType

public StiSSCC18BarCodeType()

StiSSCC18BarCodeType

public StiSSCC18BarCodeType(float module,
                            float height)
Method Detail

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Overrides:
SaveToJsonObject in class StiCode128BarCodeType
Throws:
JSONException

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Overrides:
LoadFromJsonObject in class StiCode128BarCodeType
Throws:
JSONException

getComponentId

public StiComponentId getComponentId()

getServiceName

public java.lang.String getServiceName()
Description copied from class: StiCode128cBarCodeType
Gets a service name.

Overrides:
getServiceName in class StiCode128cBarCodeType

getDefaultCodeValue

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

getCompanyPrefix

public java.lang.String getCompanyPrefix()
the GS1 Company Prefix (7-10 digits).

Returns:
the companyPrefix

setCompanyPrefix

public void setCompanyPrefix(java.lang.String companyPrefix)
the GS1 Company Prefix (7-10 digits).

Parameters:
companyPrefix - the companyPrefix to set

getSerialNumber

public java.lang.String getSerialNumber()
the Serial Reference Numbers (6-9 digits).

Returns:
the serialNumber

setSerialNumber

public void setSerialNumber(java.lang.String serialNumber)
the Serial Reference Numbers (6-9 digits).

Parameters:
serialNumber - the serialNumber to set

getExtensionDigit

public java.lang.String getExtensionDigit()
the extension digit.

Returns:
the extensionDigit

setExtensionDigit

public void setExtensionDigit(java.lang.String extensionDigit)
the extension digit.

Parameters:
extensionDigit - the extensionDigit to set

getCombinedCode

public java.lang.String getCombinedCode()
Overrides:
getCombinedCode in class StiBarCodeTypeService

draw

public void draw(StiGraphics context,
                 StiBarCode barCode,
                 StiRectangle rect,
                 double zoom)
          throws java.lang.Exception
Overrides:
draw in class StiCode128cBarCodeType
Throws:
java.lang.Exception

CreateNew

public StiBarCodeTypeService CreateNew()