com.stimulsoft.report.barCodes
Class StiBarCodeTypeService

java.lang.Object
  extended by com.stimulsoft.base.serializing.StiSerializedObject
      extended by com.stimulsoft.base.services.StiService
          extended by com.stimulsoft.report.barCodes.StiBarCodeTypeService
All Implemented Interfaces:
IStiSerializable, IStiSerializableRef, java.lang.Cloneable
Direct Known Subclasses:
StiAustraliaPost4StateBarCodeType, StiCodabarBarCodeType, StiCode11BarCodeType, StiCode128BarCodeType, StiCode39BarCodeType, StiCode93BarCodeType, StiDataMatrixBarCodeType, StiDutchKIXBarCodeType, StiEAN13BarCodeType, StiFIMBarCodeType, StiInterleaved2of5BarCodeType, StiITF14BarCodeType, StiMaxicodeBarCodeType, StiPdf417BarCodeType, StiPharmacodeBarCodeType, StiPlesseyBarCodeType, StiPostnetBarCodeType, StiQRCodeBarCodeType, StiRoyalMail4StateBarCodeType, StiStandard2of5BarCodeType

public abstract class StiBarCodeTypeService
extends StiService


Field Summary
 int visiblePropertiesCount
           
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiBarCodeTypeService()
           
 
Method Summary
abstract  void draw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom)
           
 java.lang.String GetCode(IStiBarCode barCode)
          Returns string of char - input data for calculation of bar code.
 java.lang.String getCombinedCode()
           
abstract  java.lang.String getDefaultCodeValue()
           
 StiBarCodeExportPainter getExportPainter()
           
abstract  double getHeight()
           
abstract  double getLabelFontHeight()
           
abstract  double getModule()
           
 java.lang.String getServiceCategory()
          Gets a service category.
 java.lang.Class<?> getServiceType()
          Gets a service type.
abstract  void LoadFromJsonObject(JSONObject jObject)
           
static StiBarCodeTypeService LoadFromJsonObjectInternal(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setExportPainter(StiBarCodeExportPainter exportPainter)
           
abstract  void setHeight(double value)
           
abstract  void setModule(double value)
           
 java.lang.String toString()
           
 
Methods inherited from class com.stimulsoft.base.services.StiService
clone, getProperties, getServiceEnabled, getServiceInfo, getServiceName, 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
 

Field Detail

visiblePropertiesCount

public final int visiblePropertiesCount
See Also:
Constant Field Values
Constructor Detail

StiBarCodeTypeService

public StiBarCodeTypeService()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getDefaultCodeValue

public abstract java.lang.String getDefaultCodeValue()

getServiceCategory

public final java.lang.String getServiceCategory()
Gets a service category.

Overrides:
getServiceCategory in class StiService

getServiceType

public final java.lang.Class<?> getServiceType()
Gets a service type.

Specified by:
getServiceType in class StiService

getModule

public abstract double getModule()

setModule

public abstract void setModule(double value)

getHeight

public abstract double getHeight()

setHeight

public abstract void setHeight(double value)

getLabelFontHeight

public abstract double getLabelFontHeight()

GetCode

public java.lang.String GetCode(IStiBarCode barCode)
Returns string of char - input data for calculation of bar code.

Parameters:
barCode -
Returns:

getCombinedCode

public java.lang.String getCombinedCode()

draw

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

getExportPainter

public StiBarCodeExportPainter getExportPainter()
Returns:
the exportPainter

setExportPainter

public void setExportPainter(StiBarCodeExportPainter exportPainter)
Parameters:
exportPainter - the exportPainter to set

LoadFromJsonObjectInternal

public static StiBarCodeTypeService LoadFromJsonObjectInternal(JSONObject jObject)
                                                        throws JSONException
Throws:
JSONException

SaveToJsonObject

public JSONObject SaveToJsonObject(StiJsonSaveMode mode)
                            throws JSONException
Throws:
JSONException

LoadFromJsonObject

public abstract void LoadFromJsonObject(JSONObject jObject)
                                 throws JSONException
Throws:
JSONException