com.stimulsoft.report.barCodes
Class StiRoyalMail4StateBarCodeType

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.StiRoyalMail4StateBarCodeType
All Implemented Interfaces:
IStiSerializable, IStiSerializableRef, java.lang.Cloneable

public class StiRoyalMail4StateBarCodeType
extends StiBarCodeTypeService

The class describes the Barcode type - RoyalMail4State.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
StiBarCodeTypeService.StiBarCodeData, StiBarCodeTypeService.ValueObject
 
Field Summary
protected static double RoyalMail4StateLineHeightForCut
           
protected static double RoyalMail4StateLineHeightLong
           
protected static double RoyalMail4StateLineHeightShort
           
protected static double RoyalMail4StateMainHeight
           
protected static double RoyalMail4StateSpaceBottom
           
protected static double RoyalMail4StateSpaceLeft
           
protected static double RoyalMail4StateSpaceRight
           
protected static double RoyalMail4StateSpaceTop
           
protected  java.lang.String RoyalMail4StateSymbols
           
protected static double RoyalMail4StateTextHeight
           
protected static double RoyalMail4StateTextPosition
           
 
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
StiRoyalMail4StateBarCodeType()
           
StiRoyalMail4StateBarCodeType(double module, double height, StiCheckSum checkSum)
           
 
Method Summary
 void draw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom)
           
 StiCheckSum getCheckSum()
          Gets or sets mode of checksum.
 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.
protected  StiTextHorAlignment getTextAlignment()
           
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setCheckSum(StiCheckSum 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, 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

RoyalMail4StateSymbols

protected java.lang.String RoyalMail4StateSymbols

RoyalMail4StateSpaceLeft

protected static final double RoyalMail4StateSpaceLeft
See Also:
Constant Field Values

RoyalMail4StateSpaceRight

protected static final double RoyalMail4StateSpaceRight
See Also:
Constant Field Values

RoyalMail4StateSpaceTop

protected static final double RoyalMail4StateSpaceTop
See Also:
Constant Field Values

RoyalMail4StateSpaceBottom

protected static final double RoyalMail4StateSpaceBottom
See Also:
Constant Field Values

RoyalMail4StateLineHeightLong

protected static final double RoyalMail4StateLineHeightLong
See Also:
Constant Field Values

RoyalMail4StateLineHeightShort

protected static final double RoyalMail4StateLineHeightShort
See Also:
Constant Field Values

RoyalMail4StateTextPosition

protected static final double RoyalMail4StateTextPosition
See Also:
Constant Field Values

RoyalMail4StateTextHeight

protected static final double RoyalMail4StateTextHeight
See Also:
Constant Field Values

RoyalMail4StateMainHeight

protected static final double RoyalMail4StateMainHeight
See Also:
Constant Field Values

RoyalMail4StateLineHeightForCut

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

StiRoyalMail4StateBarCodeType

public StiRoyalMail4StateBarCodeType()

StiRoyalMail4StateBarCodeType

public StiRoyalMail4StateBarCodeType(double module,
                                     double height,
                                     StiCheckSum checkSum)
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

getCheckSum

public final StiCheckSum getCheckSum()
Gets or sets mode of checksum.


setCheckSum

public final void setCheckSum(StiCheckSum value)

getLabelFontHeight

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

getTextAlignment

protected StiTextHorAlignment getTextAlignment()
Overrides:
getTextAlignment 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.