KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > javax > microedition > lcdui > game > GameCanvas

javax.microedition.lcdui.game
Class GameCanvas

java.lang.Object
  |
  +--javax.microedition.lcdui.Displayable
        |
        +--javax.microedition.lcdui.Canvas
              |
              +--javax.microedition.lcdui.game.GameCanvas
See Also:
getHeight, getWidth

public static final int DOWN_PRESSED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int FIRE_PRESSED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void flushGraphics()
See Also:
flushGraphics(int,int,int,int)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void flushGraphics(int x,
                          int y,
                          int width,
                          int height)
See Also:
flushGraphics()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected GameCanvas(boolean suppressKeyEvents)
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int GAME_A_PRESSED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int GAME_B_PRESSED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int GAME_C_PRESSED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int GAME_D_PRESSED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


protected Graphics getGraphics()
See Also:
flushGraphics(int, int, int, int), flushGraphics(), SOLID, Font.getDefaultFont()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public int getKeyStates()
See Also:
GAME_D_PRESSED, GAME_C_PRESSED, GAME_B_PRESSED, GAME_A_PRESSED, FIRE_PRESSED, RIGHT_PRESSED, LEFT_PRESSED, DOWN_PRESSED, UP_PRESSED, Displayable.isShown()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int LEFT_PRESSED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public void paint(Graphics g)
See Also:
Canvas
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int RIGHT_PRESSED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


public static final int UP_PRESSED
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  

Popular Tags