java.lang.Object
javax.microedition.lcdui.Graphics
com.barteo.emulator.device.applet.AppletDisplayGraphics
- All Implemented Interfaces:
- com.barteo.emulator.device.DisplayGraphics
- public class AppletDisplayGraphics
- extends javax.microedition.lcdui.Graphics
- implements com.barteo.emulator.device.DisplayGraphics
Method Summary |
void |
clipRect(int x,
int y,
int width,
int height)
|
void |
drawArc(int x,
int y,
int width,
int height,
int startAngle,
int arcAngle)
|
void |
drawImage(javax.microedition.lcdui.Image img,
int x,
int y,
int anchor)
|
void |
drawLine(int x1,
int y1,
int x2,
int y2)
|
void |
drawRect(int x,
int y,
int width,
int height)
|
void |
drawRoundRect(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight)
|
void |
drawString(java.lang.String str,
int x,
int y,
int anchor)
|
void |
fillArc(int x,
int y,
int width,
int height,
int startAngle,
int arcAngle)
|
void |
fillRect(int x,
int y,
int width,
int height)
|
void |
fillRoundRect(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight)
|
int |
getClipHeight()
|
int |
getClipWidth()
|
int |
getClipX()
|
int |
getClipY()
|
int |
getColor()
|
javax.microedition.lcdui.Font |
getFont()
|
com.barteo.emulator.device.MutableImage |
getImage()
|
void |
setClip(int x,
int y,
int width,
int height)
|
void |
setColor(int RGB)
|
void |
setFont(javax.microedition.lcdui.Font font)
|
void |
translate(int x,
int y)
|
Methods inherited from class javax.microedition.lcdui.Graphics |
drawChar, drawChars, drawSubstring, getBlueComponent, getGrayScale, getGreenComponent, getRedComponent, getStrokeStyle, getTranslateX, getTranslateY, setColor, setGrayScale, setStrokeStyle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
g
private java.awt.Graphics g
image
private com.barteo.emulator.device.MutableImage image
color
private int color
currentFont
private javax.microedition.lcdui.Font currentFont
AppletDisplayGraphics
public AppletDisplayGraphics(java.awt.Graphics a_g,
com.barteo.emulator.device.MutableImage a_image)
getImage
public com.barteo.emulator.device.MutableImage getImage()
- Specified by:
getImage
in interface com.barteo.emulator.device.DisplayGraphics
getColor
public int getColor()
setColor
public void setColor(int RGB)
getFont
public javax.microedition.lcdui.Font getFont()
setFont
public void setFont(javax.microedition.lcdui.Font font)
clipRect
public void clipRect(int x,
int y,
int width,
int height)
setClip
public void setClip(int x,
int y,
int width,
int height)
getClipX
public int getClipX()
getClipY
public int getClipY()
getClipHeight
public int getClipHeight()
getClipWidth
public int getClipWidth()
drawArc
public void drawArc(int x,
int y,
int width,
int height,
int startAngle,
int arcAngle)
drawImage
public void drawImage(javax.microedition.lcdui.Image img,
int x,
int y,
int anchor)
drawLine
public void drawLine(int x1,
int y1,
int x2,
int y2)
drawRect
public void drawRect(int x,
int y,
int width,
int height)
drawRoundRect
public void drawRoundRect(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight)
drawString
public void drawString(java.lang.String str,
int x,
int y,
int anchor)
fillArc
public void fillArc(int x,
int y,
int width,
int height,
int startAngle,
int arcAngle)
fillRect
public void fillRect(int x,
int y,
int width,
int height)
fillRoundRect
public void fillRoundRect(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight)
translate
public void translate(int x,
int y)