edu.berkeley.guir.papier_mache.barcode
Class BarcodePhob
java.lang.Object
edu.berkeley.guir.papier_mache.Phob
edu.berkeley.guir.papier_mache.TagPhob
edu.berkeley.guir.papier_mache.barcode.BarcodePhob
- All Implemented Interfaces:
- edu.berkeley.guir.lib.util.ToShortStringable
- public class BarcodePhob
- extends TagPhob
- Author:
- Ray Su ( raysu(AT)cal.berkeley.edu )
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
EAN
public static final int EAN
- See Also:
- Constant Field Values
PDF417
public static final int PDF417
- See Also:
- Constant Field Values
CYBERCODE
public static final int CYBERCODE
- See Also:
- Constant Field Values
BarcodePhob
public BarcodePhob(java.lang.String tagID,
PhobProducer source,
int barcodeType)
BarcodePhob
public BarcodePhob(java.lang.String tagID,
PhobProducer source,
VisionPhobCollection phobCollection,
int barcodeType)
getIcon
public javax.swing.Icon getIcon()
- Overrides:
getIcon
in class Phob
getType
public int getType()
getVisionPhobCollection
public VisionPhobCollection getVisionPhobCollection()
setVisionPhobCollection
public void setVisionPhobCollection(VisionPhobCollection coll)
equals
public boolean equals(java.lang.Object object)
- Overrides:
equals
in class TagPhob
isSimilar
public boolean isSimilar(java.lang.Object object,
int barcodeType)
- Conducts a similarity test between the two BarcodePhobs. Conducts a different test based on the type
of barcode
- Parameters:
object
- barcodeType
-
- Returns:
- true if the two BarcodePhobs are similar.