com.nokia.mid.ui
Class FullCanvas
java.lang.Object
javax.microedition.lcdui.Displayable
javax.microedition.lcdui.Canvas
com.nokia.mid.ui.FullCanvas
public abstract class FullCanvas
- extends Canvas
The Softkey Codes are not generated by normal devices. In this class they are
emulated with commands. SOFTKEY1 is mapped to Command.OK and SOFTKEY2 to
Command.BACK. You should edit your device config file, so that OK is on the
left and Back on the right.
| 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 |
protected |
FullCanvas()
Creates a new FullCanvas. |
| Methods inherited from class javax.microedition.lcdui.Canvas |
getGameAction, getKeyCode, getKeyName, hasPointerEvents, hasPointerMotionEvents, hasRepeatEvents, hideNotify, isDoubleBuffered, keyPressed, keyReleased, keyRepeated, paint, pointerDragged, pointerPressed, pointerReleased, repaint, repaint, serviceRepaints, setFullScreenMode, showNotify, sizeChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_SOFTKEY1
public static final int KEY_SOFTKEY1
- See Also:
- Constant Field Values
KEY_SOFTKEY2
public static final int KEY_SOFTKEY2
- See Also:
- Constant Field Values
KEY_SEND
public static final int KEY_SEND
- See Also:
- Constant Field Values
KEY_END
public static final int KEY_END
- See Also:
- Constant Field Values
KEY_SOFTKEY3
public static final int KEY_SOFTKEY3
- See Also:
- Constant Field Values
KEY_UP_ARROW
public static final int KEY_UP_ARROW
- See Also:
- Constant Field Values
KEY_DOWN_ARROW
public static final int KEY_DOWN_ARROW
- See Also:
- Constant Field Values
KEY_LEFT_ARROW
public static final int KEY_LEFT_ARROW
- See Also:
- Constant Field Values
KEY_RIGHT_ARROW
public static final int KEY_RIGHT_ARROW
- See Also:
- Constant Field Values
FullCanvas
protected FullCanvas()
- Creates a new FullCanvas.
Adds two empty commands to emulate softkey functions.
addCommand
public void addCommand(Command cmd)
- Commands are not supported by FullCanvas
- Overrides:
addCommand in class Displayable
- Parameters:
cmd -
getWidth
public int getWidth()
- Overrides:
getWidth in class Displayable
getHeight
public int getHeight()
- Overrides:
getHeight in class Displayable
setCommandListener
public void setCommandListener(CommandListener l)
- Commands are not supported by FullCanvas
- Overrides:
setCommandListener in class Displayable
- Parameters:
l -
Copyright © 2001-2010 MicroEmulator Team. All Rights Reserved.