com.stimulsoft.report.barCodes
Class StiPlesseyBarCodeType

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.StiPlesseyBarCodeType
All Implemented Interfaces:
IStiSerializable, IStiSerializableRef, java.lang.Cloneable
Direct Known Subclasses:
StiMsiBarCodeType

public class StiPlesseyBarCodeType
extends StiBarCodeTypeService

The class describes the Barcode type - Plessey.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
StiBarCodeTypeService.StiBarCodeData, StiBarCodeTypeService.ValueObject
 
Field Summary
protected static double PlesseyLineHeightForCut
           
protected static double PlesseyLineHeightLong
           
protected static double PlesseyLineHeightShort
           
protected static double PlesseyMainHeight
           
protected static double PlesseySpaceBottom
           
protected static double PlesseySpaceLeft
           
protected static double PlesseySpaceRight
           
protected static double PlesseySpaceTop
           
protected  java.lang.String PlesseySymbols
           
protected static double PlesseyTextHeight
           
protected static double PlesseyTextPosition
           
 
Fields inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
DefaultLabelFontHeight, RectWindow, visiblePropertiesCount
 
Fields inherited from class com.stimulsoft.base.services.StiService
properties
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiPlesseyBarCodeType()
           
StiPlesseyBarCodeType(double module, double height, StiPlesseyCheckSum checkSum1, StiPlesseyCheckSum checkSum2)
           
 
Method Summary
 void draw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom)
           
 StiPlesseyCheckSum getCheckSum1()
          Gets or sets mode of CheckSum1.
 StiPlesseyCheckSum getCheckSum2()
          Gets or sets mode of CheckSum2.
 java.lang.String getDefaultCodeValue()
           
 double getHeight()
          Gets os sets height factor of the bar code.
 double getLabelFontHeight()
           
 double getModule()
          Gets or sets width of the most fine element of the bar code.
 java.lang.String getServiceName()
          Gets a service name.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setCheckSum1(StiPlesseyCheckSum value)
           
 void setCheckSum2(StiPlesseyCheckSum value)
           
 void setHeight(double value)
           
 void setModule(double value)
           
 
Methods inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
baseDrawRectangle, baseDrawString, baseFillEllipse, baseFillPolygon, baseFillRectangle, baseFillRectangle2D, baseMeasureString, baseRollbackTransform, baseTransform, CalculateSize2, CalculateSizeFull, CheckCodeSymbols, draw2DBarCode, drawBarCode, drawBarCodeError, drawBarCodeError, drawBars, drawMaxicode, getBarCodeData, GetCode, getCombinedCode, getExportPainter, getServiceCategory, getServiceType, GetSymbolsStringWidth, GetSymbolWidth, getTextAlignment, IsSymbolLong, IsSymbolPostDescend, IsSymbolSpace, LoadFromJsonObjectInternal, rollbackTransform, setExportPainter, toInts, toString, translateRect
 
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PlesseySymbols

protected java.lang.String PlesseySymbols

PlesseySpaceLeft

protected static final double PlesseySpaceLeft
See Also:
Constant Field Values

PlesseySpaceRight

protected static final double PlesseySpaceRight
See Also:
Constant Field Values

PlesseySpaceTop

protected static final double PlesseySpaceTop
See Also:
Constant Field Values

PlesseySpaceBottom

protected static final double PlesseySpaceBottom
See Also:
Constant Field Values

PlesseyLineHeightShort

protected static final double PlesseyLineHeightShort
See Also:
Constant Field Values

PlesseyLineHeightLong

protected static final double PlesseyLineHeightLong
See Also:
Constant Field Values

PlesseyTextPosition

protected static final double PlesseyTextPosition
See Also:
Constant Field Values

PlesseyTextHeight

protected static final double PlesseyTextHeight
See Also:
Constant Field Values

PlesseyMainHeight

protected static final double PlesseyMainHeight
See Also:
Constant Field Values

PlesseyLineHeightForCut

protected static final double PlesseyLineHeightForCut
See Also:
Constant Field Values
Constructor Detail

StiPlesseyBarCodeType

public StiPlesseyBarCodeType()

StiPlesseyBarCodeType

public StiPlesseyBarCodeType(double module,
                             double height,
                             StiPlesseyCheckSum checkSum1,
                             StiPlesseyCheckSum checkSum2)
Method Detail

getServiceName

public java.lang.String getServiceName()
Gets a service name.

Overrides:
getServiceName in class StiService

getModule

public double getModule()
Gets or sets width of the most fine element of the bar code.

Specified by:
getModule in class StiBarCodeTypeService

setModule

public void setModule(double value)
Specified by:
setModule in class StiBarCodeTypeService

getHeight

public double getHeight()
Gets os sets height factor of the bar code.

Specified by:
getHeight in class StiBarCodeTypeService

setHeight

public void setHeight(double value)
Specified by:
setHeight in class StiBarCodeTypeService

getCheckSum1

public final StiPlesseyCheckSum getCheckSum1()
Gets or sets mode of CheckSum1.


setCheckSum1

public final void setCheckSum1(StiPlesseyCheckSum value)

getCheckSum2

public final StiPlesseyCheckSum getCheckSum2()
Gets or sets mode of CheckSum2.


setCheckSum2

public final void setCheckSum2(StiPlesseyCheckSum value)

getLabelFontHeight

public double getLabelFontHeight()
Specified by:
getLabelFontHeight in class StiBarCodeTypeService

draw

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

SaveToJsonObject

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

LoadFromJsonObject

public void LoadFromJsonObject(JSONObject jObject)
                        throws JSONException
Specified by:
LoadFromJsonObject in class StiBarCodeTypeService
Throws:
JSONException

getDefaultCodeValue

public java.lang.String getDefaultCodeValue()
Specified by:
getDefaultCodeValue in class StiBarCodeTypeService


Copyright © 2018 Stimulsoft. All Rights Reserved.