Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.barteo.emulator.device.applet
Class AppletDisplayGraphics  view AppletDisplayGraphics download AppletDisplayGraphics.java

java.lang.Object
  extended byjavax.microedition.lcdui.Graphics
      extended bycom.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


Field Summary
private  int color
           
private  javax.microedition.lcdui.Font currentFont
           
private  java.awt.Graphics g
           
private  com.barteo.emulator.device.MutableImage image
           
 
Fields inherited from class javax.microedition.lcdui.Graphics
BASELINE, BOTTOM, DOTTED, HCENTER, LEFT, RIGHT, SOLID, TOP, VCENTER
 
Constructor Summary
AppletDisplayGraphics(java.awt.Graphics a_g, com.barteo.emulator.device.MutableImage a_image)
           
 
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
 

Field Detail

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
Constructor Detail

AppletDisplayGraphics

public AppletDisplayGraphics(java.awt.Graphics a_g,
                             com.barteo.emulator.device.MutableImage a_image)
Method Detail

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)