com.honeywell.decodemanager
Class SymbologyConfigBase

java.lang.Object
  extended by com.honeywell.decodemanager.SymbologyConfigBase
Direct Known Subclasses:
SymbologyConfigCode32, SymbologyConfigCodeAustralianPost, SymbologyConfigCodeBritishPost, SymbologyConfigCodeCanadianPost, SymbologyConfigCodeCouponCode, SymbologyConfigCodeEan13, SymbologyConfigCodeEan8, SymbologyConfigCodeIDTag, SymbologyConfigCodeISBT128, SymbologyConfigCodeJapanesePost, SymbologyConfigCodeKIXCode, SymbologyConfigCodeMinMaxProperty, SymbologyConfigCodePlanetCode, SymbologyConfigCodePostnet, SymbologyConfigCodeTLC39, SymbologyConfigCodeTrioptic, SymbologyConfigCodeUPCA, SymbologyConfigCodeUPCE, SymbologyConfigCodeUSPS4State

public class SymbologyConfigBase
extends java.lang.Object


Field Summary
static  CREATOR
           
protected  int m_flags
           
protected  int m_mask
           
protected  int m_maxLength
           
protected  int m_minLength
           
protected  int m_symID
           
 
Constructor Summary
SymbologyConfigBase()
          construct of SymbologyConfigBase.
 
Method Summary
 int describeContents()
          Describe the kinds of special objects contained in this Parcelable's marshalled representation.
 void enableSymbology(boolean b)
          This function is used to enable or disable symbology.
protected  int getFlags()
          This function is used to get flag value,bitwise OR all the enabled symbology property to produce this value.
protected  int getMask()
          This function is used to get Mask value.
protected  int getMaxLength()
          This function is used to get maxmum length of barcode.
protected  int getMinLength()
          This function is used to get minmum length of barcode.
protected  int getSymID()
          This function is used to get symbology id.
 void readFromParcel(Parcel in)
          Set the point's coordinates from the data stored in the specified parcel.
 void writeToParcel(Parcel dest, int flags)
          Flatten this object in to a Parcel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_symID

protected int m_symID

m_mask

protected int m_mask

m_flags

protected int m_flags

m_minLength

protected int m_minLength

m_maxLength

protected int m_maxLength

CREATOR

public static final  CREATOR
Constructor Detail

SymbologyConfigBase

public SymbologyConfigBase()
construct of SymbologyConfigBase.

Method Detail

readFromParcel

public void readFromParcel(Parcel in)
Set the point's coordinates from the data stored in the specified parcel. To write a point to a parcel, call writeToParcel().

Parameters:
in - The parcel to read the point's coordinates from.

describeContents

public int describeContents()
Describe the kinds of special objects contained in this Parcelable's marshalled representation.

Returns:
a bitmask indicating the set of special object types marshalled by the Parcelable.

writeToParcel

public void writeToParcel(Parcel dest,
                          int flags)
Flatten this object in to a Parcel.

Parameters:
dest - The Parcel in which the object should be written.
flags - Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE.

enableSymbology

public void enableSymbology(boolean b)
This function is used to enable or disable symbology.

Parameters:
b - if true symbology is enable,Otherwise disable.

getSymID

protected int getSymID()
This function is used to get symbology id.

Returns:
Return symbology id.
See Also:
CommonDefine.SymbologyID

getFlags

protected int getFlags()
This function is used to get flag value,bitwise OR all the enabled symbology property to produce this value.

Returns:
Return flag value.

getMask

protected int getMask()
This function is used to get Mask value.

Returns:
Return flag value.
See Also:
CommonDefine.SymbologyMask

getMinLength

protected int getMinLength()
This function is used to get minmum length of barcode.

Returns:
Return minmum length.

getMaxLength

protected int getMaxLength()
This function is used to get maxmum length of barcode.

Returns:
Return maxmum length.