package javax.microedition.lcdui; public abstract class Canvas extends Displayable { public static final int UP = 1; public static final int DOWN = 6; public static final int LEFT = 2; public static final int RIGHT = 5; public static final int FIRE = 8; public static final int GAME_A = 9; public static final int GAME_B = 10; public static final int GAME_C = 11; public static final int GAME_D = 12; public static final int KEY_NUM0 = 48; public static final int KEY_NUM1 = 49; public static final int KEY_NUM2 = 50; public static final int KEY_NUM3 = 51; public static final int KEY_NUM4 = 52; public static final int KEY_NUM5 = 53; public static final int KEY_NUM6 = 54; public static final int KEY_NUM7 = 55; public static final int KEY_NUM8 = 56; public static final int KEY_NUM9 = 57; public static final int KEY_STAR = 42; public static final int KEY_POUND = 35; protected Canvas() { } public boolean isDoubleBuffered() { return false; } public boolean hasPointerEvents() { return false; } public boolean hasPointerMotionEvents() { return false; } public boolean hasRepeatEvents() { return false; } public int getKeyCode(int i) { return 0; } public String getKeyName(int i) { return null; } public int getGameAction(int i) { return 0; } public void setFullScreenMode(boolean flag) { } protected void keyPressed(int i) { } protected void keyRepeated(int i) { } protected void keyReleased(int i) { } protected void pointerPressed(int i, int j) { } protected void pointerReleased(int i, int j) { } protected void pointerDragged(int i, int j) { } public final void repaint(int i, int j, int k, int l) { } public final void repaint() { } public final void serviceRepaints() { } protected void showNotify() { } protected void hideNotify() { } protected abstract void paint(Graphics g); protected void sizeChanged(int i, int j) { } }