com.stimulsoft.report.barCodes
Class StiBarCodeTypeService
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
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
Methods inherited from class com.stimulsoft.base.services.StiService |
clone, getProperties, getServiceEnabled, getServiceInfo, getServiceName, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabled |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
visiblePropertiesCount
public final int visiblePropertiesCount
- See Also:
- Constant Field Values
StiBarCodeTypeService
public StiBarCodeTypeService()
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