public class SymbolStateList
extends java.lang.Object
Constructor and Description |
---|
SymbolStateList()
Create an instance of the SymbolStateList class.
|
Modifier and Type | Method and Description |
---|---|
void |
add(com.atid.lib.module.barcode.types.BarcodeType type,
boolean used)
Add symbol state information to the SymbolStateList instance.
|
void |
addAll(SymbolStateList list)
Add all the information for the SymbolStateList instance.
|
void |
clear()
Deletes all information in the SymbolStateList instance.
|
int |
getCount()
Returns the type of symbol stored in the SymbolStateList instance and the number of pieces of information in the state pair.
|
com.atid.lib.module.barcode.types.BarcodeType |
getType(int position)
Returns the barcode type at the specified index.
|
boolean |
getUsed(int position)
Returns the status of the bar code symbol at the specified index.
|
void |
setUsed(int position,
boolean used)
Sets the state of the bar code symbol at the specified index.
|
public SymbolStateList()
public int getCount()
public com.atid.lib.module.barcode.types.BarcodeType getType(int position)
position
- An identifier representing the location of the information in the SymbolStateList.public boolean getUsed(int position)
position
- An identifier representing the location of the information in the SymbolStateList.public void setUsed(int position, boolean used)
position
- An identifier representing the location of the information in the SymbolStateList.used
- A boolean indicating the activation status of the symbol.public void clear()
public void add(com.atid.lib.module.barcode.types.BarcodeType type, boolean used)
type
- BarcodeType enumeration representing the barcode type.used
- A boolean indicating the activation status of the symbol.public void addAll(SymbolStateList list)
list
- An instance of SymbolStateList with added symbol state information.