com.honeywell.decodemanager
Class DecodeManager.SymConfigActivityOpeartor

java.lang.Object
  extended by com.honeywell.decodemanager.DecodeManager.SymConfigActivityOpeartor
Enclosing class:
DecodeManager

public class DecodeManager.SymConfigActivityOpeartor
extends java.lang.Object

The SymbologyConfigActivityOpeartor is used to operate the symbology configure activity.


Constructor Summary
DecodeManager.SymConfigActivityOpeartor()
           
 
Method Summary
 boolean addSymToConfigActivity(int symbologyId)
          Add one symbology to default symbology configuration activity.
 java.util.ArrayList<java.lang.Integer> getAllSymbologyId()
          get all symbology id that is showed in default symbology configuration activity.
 boolean IsExistedInDefaultActivity(int symbologyId)
          To verify symbology id whether existed in default symbology configuration activity.
 boolean removeAllSymFromConfigActivity()
          Remove All symbology from default symbology configuration activity.
 boolean removeSymFromConfigActivity(int symbologyId)
          Remove one symbology from default symbology configuration activity.
 boolean restoreDefaultSymToConfigActivity()
          Restore default symbology to default symbology configuration activity.
 void start()
          show the symbology configuration activity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DecodeManager.SymConfigActivityOpeartor

public DecodeManager.SymConfigActivityOpeartor()
Method Detail

addSymToConfigActivity

public boolean addSymToConfigActivity(int symbologyId)
Add one symbology to default symbology configuration activity.

Parameters:
symbologyId - One of the CommonDefine.SymbologyID , eg SYM_CODE39. To disable all symbolgies at once, SYM_ALL should be used as the SymID. - it will be added to default symbology configuration activity.
Returns:
Return true if add symbology successfully. Otherwise false.

removeSymFromConfigActivity

public boolean removeSymFromConfigActivity(int symbologyId)
Remove one symbology from default symbology configuration activity.

Parameters:
symbologyId - One of the CommonDefine.SymbologyID , eg SYM_CODE39. To disable all symbolgies at once, SYM_ALL should be used as the SymID. - it will be removed from default symbology configuration activity.
Returns:
Return true if remove symbology successfully. Otherwise false.

removeAllSymFromConfigActivity

public boolean removeAllSymFromConfigActivity()
Remove All symbology from default symbology configuration activity.

Returns:
Return true if remove symbology successfully. Otherwise false.

restoreDefaultSymToConfigActivity

public boolean restoreDefaultSymToConfigActivity()
Restore default symbology to default symbology configuration activity.

Returns:
Return true if Restore successfully. Otherwise false.

getAllSymbologyId

public java.util.ArrayList<java.lang.Integer> getAllSymbologyId()
get all symbology id that is showed in default symbology configuration activity.

Returns:
All symbology id that is showed in default symbology configuration activity

IsExistedInDefaultActivity

public boolean IsExistedInDefaultActivity(int symbologyId)
To verify symbology id whether existed in default symbology configuration activity.

Parameters:
symbologyId - One of the CommonDefine.SymbologyID , eg SYM_CODE39.
Returns:
Return true if existed. Otherwise false.

start

public void start()
show the symbology configuration activity.

Parameters:
context - - Interface to global information about user application environment