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