Apime v1.0

com.java4ever.apime.ui
Class ApplicationCanvas

java.lang.Object
  extended byjavax.microedition.lcdui.Displayable
      extended byjavax.microedition.lcdui.Canvas
          extended bycom.java4ever.apime.ui.ApplicationCanvas

public class ApplicationCanvas
extends javax.microedition.lcdui.Canvas

Canvas para la aplicación, con doble buffer si el móvil no tiene.


Field Summary
static int KEY_ABC
          Código para la tecla ABC.
static int KEY_CLEAR
          Código para la tecla CLEAR.
static int KEY_END
          Código para la tecla END.
static int KEY_SEND
          Código para la tecla SEND.
static int KEY_SOFTKEY1
          Código para la tecla SOFT1.
static int KEY_SOFTKEY2
          Código para la tecla SOFT2.
static int KEY_SOFTKEY3
          Código para la tecla SOFT3.
 
Fields inherited from class javax.microedition.lcdui.Canvas
DOWN, FIRE, GAME_A, GAME_B, GAME_C, GAME_D, KEY_NUM0, KEY_NUM1, KEY_NUM2, KEY_NUM3, KEY_NUM4, KEY_NUM5, KEY_NUM6, KEY_NUM7, KEY_NUM8, KEY_NUM9, KEY_POUND, KEY_STAR, LEFT, RIGHT, UP
 
Method Summary
protected  void hideNotify()
           
protected  void keyPressed(int code)
           
protected  void keyReleased(int code)
           
protected  void paint(javax.microedition.lcdui.Graphics g)
           
protected  void pointerDragged(int x, int y)
           
protected  void pointerPressed(int x, int y)
           
protected  void pointerReleased(int x, int y)
           
protected  void showNotify()
           
 
Methods inherited from class javax.microedition.lcdui.Canvas
getGameAction, getHeight, getKeyCode, getKeyName, getWidth, hasPointerEvents, hasPointerMotionEvents, hasRepeatEvents, isDoubleBuffered, keyRepeated, repaint, repaint, serviceRepaints
 
Methods inherited from class javax.microedition.lcdui.Displayable
addCommand, isShown, removeCommand, setCommandListener
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_SOFTKEY1

public static int KEY_SOFTKEY1
Código para la tecla SOFT1.


KEY_SOFTKEY2

public static int KEY_SOFTKEY2
Código para la tecla SOFT2.


KEY_SOFTKEY3

public static int KEY_SOFTKEY3
Código para la tecla SOFT3.


KEY_CLEAR

public static int KEY_CLEAR
Código para la tecla CLEAR.


KEY_ABC

public static int KEY_ABC
Código para la tecla ABC.


KEY_SEND

public static int KEY_SEND
Código para la tecla SEND.


KEY_END

public static int KEY_END
Código para la tecla END.

Method Detail

paint

protected void paint(javax.microedition.lcdui.Graphics g)

pointerPressed

protected void pointerPressed(int x,
                              int y)

pointerReleased

protected void pointerReleased(int x,
                               int y)

pointerDragged

protected void pointerDragged(int x,
                              int y)

keyPressed

protected void keyPressed(int code)

keyReleased

protected void keyReleased(int code)

showNotify

protected void showNotify()

hideNotify

protected void hideNotify()

Apime v1.0

Copyright 2004 Java4Ever.com. All Rights Reserved.