|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectCanvas
com.java4less.j2me.datamatrix.DatamatrixCanvas
public class DatamatrixCanvas
This is a subclass of javax.microedition.lcdui.Canvas used to display Datamatrix barcodes
Constructor Summary | |
---|---|
DatamatrixCanvas()
|
Method Summary | |
---|---|
int |
getCurrentX()
get last X possition. |
int |
getCurrentY()
get last Y possition. |
DataMatrix |
getDatamatrix()
get datamatrix object |
int |
getMargin()
margin of the barcode (also know as quite zone). |
double |
getModuleSize()
size (width) of the bars (module). |
void |
paint(Graphics g)
paints the symbol. |
void |
setDatamatrix(DataMatrix d)
set datamatrix object |
void |
setMargin(int d)
margin of the barcode (also know as quite zone). |
void |
setModuleSize(int d)
size (width) of the bars (module). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DatamatrixCanvas()
Method Detail |
---|
public DataMatrix getDatamatrix()
public void setDatamatrix(DataMatrix d)
d
- public int getMargin()
public void setMargin(int d)
public double getModuleSize()
public void setModuleSize(int d)
public void paint(Graphics g)
public int getCurrentX()
public int getCurrentY()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |