Package com.stimulsoft.report.barCodes
Class StiRoyalMail4StateBarCodeType
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.barCodes.StiBarCodeTypeService
com.stimulsoft.report.barCodes.StiRoyalMail4StateBarCodeType
- All Implemented Interfaces:
IStiSerializable,IStiSerializableRef,Cloneable
The class describes the Barcode type - RoyalMail4State.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
StiBarCodeTypeService.BarcodeCommandCode, StiBarCodeTypeService.StiBarCodeData, StiBarCodeTypeService.ValueObject -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected static final doubleprotected Stringprotected static final doubleprotected static final doubleFields inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
DefaultLabelFontHeight, RectWindow, visiblePropertiesCountFields inherited from class com.stimulsoft.base.services.StiService
propertiesFields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT -
Constructor Summary
ConstructorsConstructorDescriptionStiRoyalMail4StateBarCodeType(double module, double height, StiCheckSum checkSum) -
Method Summary
Modifier and TypeMethodDescriptionvoiddraw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom) final StiCheckSumGets or sets mode of checksum.doubleGets os sets height factor of the bar code.doubledoubleGets or sets width of the most fine element of the bar code.Gets a service name.protected StiTextHorAlignmentvoidLoadFromJsonObject(JSONObject jObject) final voidsetCheckSum(StiCheckSum value) voidsetHeight(double value) voidsetModule(double value) Methods inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
baseDrawImage, 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, isTextSpacing, LoadFromJsonObjectInternal, rollbackTransform, setExportPainter, toInts, toString, translateRect, unpackTilde, unpackTildeMethods inherited from class com.stimulsoft.base.services.StiService
clone, getProperties, getServiceEnabled, getServiceInfo, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabledMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
-
Field Details
-
RoyalMail4StateSymbols
-
RoyalMail4StateSpaceLeft
protected static final double RoyalMail4StateSpaceLeft- See Also:
-
RoyalMail4StateSpaceRight
protected static final double RoyalMail4StateSpaceRight- See Also:
-
RoyalMail4StateSpaceTop
protected static final double RoyalMail4StateSpaceTop- See Also:
-
RoyalMail4StateSpaceBottom
protected static final double RoyalMail4StateSpaceBottom- See Also:
-
RoyalMail4StateLineHeightLong
protected static final double RoyalMail4StateLineHeightLong- See Also:
-
RoyalMail4StateLineHeightShort
protected static final double RoyalMail4StateLineHeightShort- See Also:
-
RoyalMail4StateTextPosition
protected static final double RoyalMail4StateTextPosition- See Also:
-
RoyalMail4StateTextHeight
protected static final double RoyalMail4StateTextHeight- See Also:
-
RoyalMail4StateMainHeight
protected static final double RoyalMail4StateMainHeight- See Also:
-
RoyalMail4StateLineHeightForCut
protected static final double RoyalMail4StateLineHeightForCut- See Also:
-
-
Constructor Details
-
StiRoyalMail4StateBarCodeType
public StiRoyalMail4StateBarCodeType() -
StiRoyalMail4StateBarCodeType
-
-
Method Details
-
getServiceName
Gets a service name.- Overrides:
getServiceNamein classStiService
-
getModule
public double getModule()Gets or sets width of the most fine element of the bar code.- Specified by:
getModulein classStiBarCodeTypeService
-
setModule
public void setModule(double value) - Specified by:
setModulein classStiBarCodeTypeService
-
getHeight
public double getHeight()Gets os sets height factor of the bar code.- Specified by:
getHeightin classStiBarCodeTypeService
-
setHeight
public void setHeight(double value) - Specified by:
setHeightin classStiBarCodeTypeService
-
getCheckSum
Gets or sets mode of checksum. -
setCheckSum
-
getLabelFontHeight
public double getLabelFontHeight()- Specified by:
getLabelFontHeightin classStiBarCodeTypeService
-
getTextAlignment
- Overrides:
getTextAlignmentin classStiBarCodeTypeService
-
draw
public void draw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom) throws Exception - Specified by:
drawin classStiBarCodeTypeService- Throws:
Exception
-
SaveToJsonObject
- Overrides:
SaveToJsonObjectin classStiBarCodeTypeService- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin classStiBarCodeTypeService- Throws:
JSONException
-
getDefaultCodeValue
- Specified by:
getDefaultCodeValuein classStiBarCodeTypeService
-