|
||||||||
| 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
jmunit.framework.cldc11.Screen
public final class Screen
The purpose of this class is generate all the framework's interface. It's a sub-class of canvas that prints the necessary informations in the simulator screen.
| Field Summary |
|---|
| 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 | |
|---|---|
Screen(java.lang.String name,
GuiListener result)
The default constructor. |
|
| Method Summary | |
|---|---|
protected void |
paint(javax.microedition.lcdui.Graphics graphics)
The paint method of Screen is the responsible for painting the interface. |
| Methods inherited from class javax.microedition.lcdui.Canvas |
|---|
getGameAction, getHeight, getKeyCode, getKeyName, getWidth, hasPointerEvents, hasPointerMotionEvents, hasRepeatEvents, hideNotify, isDoubleBuffered, keyPressed, keyReleased, keyRepeated, 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Screen(java.lang.String name,
GuiListener result)
name - The name of the test.result - The GuiListener that maintains information about the tests
that are being run.| Method Detail |
|---|
protected void paint(javax.microedition.lcdui.Graphics graphics)
paint in class javax.microedition.lcdui.Canvas
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||