Package com.stimulsoft.report.barCodes
Class StiCode128BarCodeType
java.lang.Object
com.stimulsoft.base.serializing.StiSerializedObject
com.stimulsoft.base.services.StiService
com.stimulsoft.report.barCodes.StiBarCodeTypeService
com.stimulsoft.report.barCodes.StiCode128BarCodeType
- All Implemented Interfaces:
IStiSerializable,IStiSerializableRef,Cloneable
- Direct Known Subclasses:
StiCode128aBarCodeType,StiCode128AutoBarCodeType,StiCode128bBarCodeType,StiCode128cBarCodeType,StiEAN128aBarCodeType,StiEAN128AutoBarCodeType,StiEAN128bBarCodeType,StiEAN128cBarCodeType,StiGS1_128BarCodeType
The class describes the Barcode type - Code-128.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static enumstatic enumNested 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 String[]protected static final doubleprotected static final doubleprotected static final StiCode128BarCodeType.CodeSetFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final Stringprotected static StringEncodeAuto(String inputText, boolean encodeAsEan) doubleGets os sets height factor of the bar code.doubledoubleGets or sets width of the most fine element of the bar code.voidLoadFromJsonObject(JSONObject jObject) 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, draw, draw2DBarCode, drawBarCode, drawBarCodeError, drawBarCodeError, drawBars, drawMaxicode, getBarCodeData, GetCode, getCombinedCode, getDefaultCodeValue, getExportPainter, getServiceCategory, getServiceType, GetSymbolsStringWidth, GetSymbolWidth, getTextAlignment, IsSymbolLong, IsSymbolPostDescend, IsSymbolSpace, isTextSpacing, LoadFromJsonObjectInternal, rollbackTransform, setExportPainter, toInts, toString, translateRect, unpackTilde, unpackTildeMethods inherited from class com.stimulsoft.base.services.StiService
clone, getProperties, getServiceEnabled, getServiceInfo, getServiceName, isPropertyPresent, MemberwiseClone, packService, properties, setProperties, setServiceEnabledMethods inherited from class com.stimulsoft.base.serializing.StiSerializedObject
cleanReference, getReference, setReference
-
Field Details
-
Code128Table
-
Code128SpaceLeft
protected static final double Code128SpaceLeft- See Also:
-
Code128SpaceRight
protected static final double Code128SpaceRight- See Also:
-
Code128SpaceTop
protected static final double Code128SpaceTop- See Also:
-
Code128SpaceBottom
protected static final double Code128SpaceBottom- See Also:
-
Code128LineHeightShort
protected static final double Code128LineHeightShort- See Also:
-
Code128LineHeightLong
protected static final double Code128LineHeightLong- See Also:
-
Code128TextPosition
protected static final double Code128TextPosition- See Also:
-
Code128TextHeight
protected static final double Code128TextHeight- See Also:
-
Code128MainHeight
protected static final double Code128MainHeight- See Also:
-
Code128LineHeightForCut
protected static final double Code128LineHeightForCut- See Also:
-
DefaultCodeSetAB
-
-
Constructor Details
-
StiCode128BarCodeType
public StiCode128BarCodeType(double module, double height)
-
-
Method Details
-
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
-
getLabelFontHeight
public double getLabelFontHeight()- Specified by:
getLabelFontHeightin classStiBarCodeTypeService
-
CodeToBar
-
EncodeAuto
-
SaveToJsonObject
- Overrides:
SaveToJsonObjectin classStiBarCodeTypeService- Throws:
JSONException
-
LoadFromJsonObject
- Specified by:
LoadFromJsonObjectin classStiBarCodeTypeService- Throws:
JSONException
-