com.stimulsoft.report.barCodes
Class StiDataMatrixBarCodeType

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

public class StiDataMatrixBarCodeType
extends StiBarCodeTypeService

The class describes the Barcode type - DataMatrix.


Field Summary
 
Fields inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
visiblePropertiesCount
 
Fields inherited from interface com.stimulsoft.base.serializing.interfaceobject.IStiSerializableRef
REFERENCE_EMPTY, REFERENCE_REPORT
 
Constructor Summary
StiDataMatrixBarCodeType()
           
StiDataMatrixBarCodeType(double module, StiDataMatrixEncodingType encodingType, boolean useRectangularSymbols, StiDataMatrixSize matrixSize)
           
 
Method Summary
 void draw(StiGraphics context, StiBarCode barCode, StiRectangle rect, double zoom)
           
 java.lang.String getDefaultCodeValue()
           
 StiDataMatrixEncodingType getEncodingType()
          Gets or sets type of encoding type.
 double getHeight()
          Gets os sets height factor of the bar code.
 double getLabelFontHeight()
           
 StiDataMatrixSize getMatrixSize()
          Gets or sets matrix size.
 double getModule()
          Gets or sets width of the most fine element of the bar code.
 java.lang.String getServiceName()
          Gets a service name.
 boolean getUseRectangularSymbols()
          Gets or sets value which indicates will RectangularSymbols be used or not.
 void LoadFromJsonObject(JSONObject jObject)
           
 JSONObject SaveToJsonObject(StiJsonSaveMode mode)
           
 void setEncodingType(StiDataMatrixEncodingType value)
           
 void setHeight(double value)
           
 void setMatrixSize(StiDataMatrixSize value)
           
 void setModule(double value)
           
 void setUseRectangularSymbols(boolean value)
           
 
Methods inherited from class com.stimulsoft.report.barCodes.StiBarCodeTypeService
GetCode, getCombinedCode, getExportPainter, getServiceCategory, getServiceType, LoadFromJsonObjectInternal, setExportPainter, toString
 
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, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StiDataMatrixBarCodeType

public StiDataMatrixBarCodeType()

StiDataMatrixBarCodeType

public StiDataMatrixBarCodeType(double module,
                                StiDataMatrixEncodingType encodingType,
                                boolean useRectangularSymbols,
                                StiDataMatrixSize matrixSize)
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

getEncodingType

public final StiDataMatrixEncodingType getEncodingType()
Gets or sets type of encoding type.


setEncodingType

public final void setEncodingType(StiDataMatrixEncodingType value)

getMatrixSize

public final StiDataMatrixSize getMatrixSize()
Gets or sets matrix size.


setMatrixSize

public final void setMatrixSize(StiDataMatrixSize value)

getUseRectangularSymbols

public final boolean getUseRectangularSymbols()
Gets or sets value which indicates will RectangularSymbols be used or not.


setUseRectangularSymbols

public final void setUseRectangularSymbols(boolean 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