|
jMobileCore toolkit | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.lcdui.Displayable
javax.microedition.lcdui.Canvas
com.jmobilecore.ui.core.PlatformCanvas
public abstract class PlatformCanvas
Provides platform dependent settings for Sun WTK platform
Field Summary | |
---|---|
static boolean |
DOUBLE_BUFFER
Indicated whether the phone has hardware support for double buffering for screen painting |
static int |
HEIGHT
The height in pixels of a screen |
static int |
KEY_CLEAR
Key code for CLEAR key |
static int |
KEY_DOWN
Key code for the DOWN game action. |
static int |
KEY_ENTER
Key code for "fictitious" ENTER key Some phones does not have FIRE button, we have to find out the replacement |
static int |
KEY_FIRE
Key code for the FIRE game action. |
static int |
KEY_LEFT
Key code for the LEFT game action. |
static int |
KEY_PHONE_OFF
Key code for PHONE_OFF key (red button) |
static int |
KEY_PHONE_ON
Key code for PHONE_ON key (green button) |
static int |
KEY_RIGHT
Key code for the RIGHT game action. |
static int |
KEY_SOFT_LEFT
Key code for left soft key |
static int |
KEY_SOFT_RIGHT
Key code for right soft key |
static int |
KEY_UNDEFINED
"No-key" key code |
static int |
KEY_UP
Key code for the UP game action. |
static int |
KEY_VOLUME_DOWN
Key code for VOLUME DOWN key |
static int |
KEY_VOLUME_UP
Key code for VOLUME UP key |
static byte |
PLATFORM
|
static byte |
PLATFORM_BARTEO
|
static byte |
PLATFORM_LG
|
static byte |
PLATFORM_MOTOROLA
|
static byte |
PLATFORM_MOTOROLA_V
|
static byte |
PLATFORM_NOKIA
|
static byte |
PLATFORM_NOKIA_30
|
static byte |
PLATFORM_SAMSUNG
|
static byte |
PLATFORM_SIEMENS
|
static byte |
PLATFORM_SONYERICSSON
|
static byte |
PLATFORM_SUN_WTK
|
static int |
WIDTH
The width in pixels of a screen |
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 |
Constructor Summary | |
---|---|
PlatformCanvas()
|
Method Summary |
---|
Methods inherited from class javax.microedition.lcdui.Canvas |
---|
getGameAction, getHeight, getKeyCode, getKeyName, getWidth, hasPointerEvents, hasPointerMotionEvents, hasRepeatEvents, hideNotify, isDoubleBuffered, keyPressed, keyReleased, keyRepeated, paint, pointerDragged, pointerPressed, pointerReleased, repaint, repaint, serviceRepaints, showNotify |
Methods inherited from class javax.microedition.lcdui.Displayable |
---|
addCommand, isShown, removeCommand, setCommandListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean DOUBLE_BUFFER
public static final int HEIGHT
public static final int KEY_CLEAR
public static final int KEY_DOWN
public static final int KEY_ENTER
public static final int KEY_FIRE
public static final int KEY_LEFT
public static final int KEY_PHONE_OFF
public static final int KEY_PHONE_ON
public static final int KEY_RIGHT
public static final int KEY_SOFT_LEFT
public static final int KEY_SOFT_RIGHT
public static final int KEY_UNDEFINED
public static final int KEY_UP
public static final int KEY_VOLUME_DOWN
public static final int KEY_VOLUME_UP
public static final byte PLATFORM
public static final byte PLATFORM_BARTEO
public static final byte PLATFORM_LG
public static final byte PLATFORM_MOTOROLA
public static final byte PLATFORM_MOTOROLA_V
public static final byte PLATFORM_NOKIA
public static final byte PLATFORM_NOKIA_30
public static final byte PLATFORM_SAMSUNG
public static final byte PLATFORM_SIEMENS
public static final byte PLATFORM_SONYERICSSON
public static final byte PLATFORM_SUN_WTK
public static final int WIDTH
Constructor Detail |
---|
public PlatformCanvas()
|
jMobileCore toolkit | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |