Class StiMaxicodeBarCodeType

All Implemented Interfaces:
IStiSerializable, IStiSerializableRef, Cloneable

public class StiMaxicodeBarCodeType extends StiBarCodeTypeService
Copyright Stimulsoft
  • Constructor Details

    • StiMaxicodeBarCodeType

      public StiMaxicodeBarCodeType()
    • StiMaxicodeBarCodeType

      public StiMaxicodeBarCodeType(StiMaxicodeMode mode, int structuredAppendPosition, int structuredAppendTotal, boolean processTilde, boolean trimExcessData)
  • Method Details

    • 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
    • getComponentId

      public StiComponentId getComponentId()
    • getServiceName

      public String getServiceName()
      Description copied from class: StiService
      Gets a service name.
      Overrides:
      getServiceName in class StiService
    • getDefaultCodeValue

      public String getDefaultCodeValue()
      Specified by:
      getDefaultCodeValue in class StiBarCodeTypeService
    • getModule

      public double getModule()
      Specified by:
      getModule in class StiBarCodeTypeService
    • getHeight

      public double getHeight()
      Specified by:
      getHeight in class StiBarCodeTypeService
    • getMode

      public StiMaxicodeMode getMode()
      Gets or sets the mode of the Maxicode.
      Returns:
    • setMode

      public void setMode(StiMaxicodeMode value)
      Gets or sets the mode of the Maxicode.
    • isProcessTilde

      public boolean isProcessTilde()
      the flag that indicates whether the data message supports character '~' as the escape. Escape sequence must have format '~ddd', where number from 0 to 255 (eg. "~000", "~029" etc.)
      Returns:
      the processTilde
    • setProcessTilde

      public void setProcessTilde(boolean processTilde)
      the flag that indicates whether the data message supports character '~' as the escape. Escape sequence must have format '~ddd', where number from 0 to 255 (eg. "~000", "~029" etc.)
      Parameters:
      processTilde - the processTilde to set
    • getStructuredAppendPosition

      public int getStructuredAppendPosition()
      Gets or sets the structured append Position.
      Returns:
      the structuredAppendPosition
    • setStructuredAppendPosition

      public void setStructuredAppendPosition(int structuredAppendPosition)
      Gets or sets the structured append Position.
      Parameters:
      structuredAppendPosition - the structuredAppendPosition to set
    • getStructuredAppendTotal

      public int getStructuredAppendTotal()
      The structured append Total.
      Returns:
      the structuredAppendTotal
    • setStructuredAppendTotal

      public void setStructuredAppendTotal(int structuredAppendTotal)
      The structured append Total.
      Parameters:
      structuredAppendTotal - the structuredAppendTotal to set
    • isTrimExcessData

      public boolean isTrimExcessData()
      a value indicating whether it is necessary to trim excess data if the data length exceeds the capacity of the barcode.
      Returns:
      the trimExcessData
    • setTrimExcessData

      public void setTrimExcessData(boolean trimExcessData)
      a value indicating whether it is necessary to trim excess data if the data length exceeds the capacity of the barcode.
      Parameters:
      trimExcessData - the trimExcessData to set
    • getLabelFontHeight

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

      public Boolean[] getVisibleProperties()
    • draw

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

      public StiBarCodeTypeService CreateNew()
    • setModule

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

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