|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMIDlet
ch.claudio.me.P1NG
public class P1NG
Constructor Summary | |
---|---|
P1NG()
|
Method Summary | |
---|---|
protected void |
destroyApp(boolean arg0)
|
java.lang.String |
getAppletInfo()
Return class name and copyright. |
void |
paint(java.awt.Graphics gApplet)
Draw the ball and the racket. |
protected void |
pauseApp()
|
void |
run()
run methods executes all "background" actions which do not have a user trigger. |
protected void |
startApp()
|
void |
update(java.awt.Graphics graphics)
BK: We use repaint() to schedule painting. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public P1NG()
Method Detail |
---|
public java.lang.String getAppletInfo()
public void paint(java.awt.Graphics gApplet)
gApplet
- unusedpublic void update(java.awt.Graphics graphics)
graphics
- see abovepublic void run()
protected void startApp() throws MIDletStateChangeException
MIDletStateChangeException
protected void pauseApp()
protected void destroyApp(boolean arg0) throws MIDletStateChangeException
MIDletStateChangeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |