|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.midlet.MIDlet
example.fonts.FontTestlet
public class FontTestlet
FontTestlet is simple MIDlet which attempts to display text in all of the MIDP's different fonts.
Constructor Summary | |
---|---|
FontTestlet()
FontTestlet - default constructor |
Method Summary | |
---|---|
void |
commandAction(javax.microedition.lcdui.Command cmd,
javax.microedition.lcdui.Displayable disp)
|
void |
destroyApp(boolean cond)
destryApp() This is important. |
(package private) javax.microedition.lcdui.Command |
getCurrentCommand()
|
void |
init()
initApp() |
void |
paint(javax.microedition.lcdui.Graphics g)
draw some stuff to the graphics context |
void |
pauseApp()
pauseApp() |
void |
startApp()
startApp() |
Methods inherited from class javax.microedition.midlet.MIDlet |
---|
checkPermission, getAppProperty, notifyDestroyed, notifyPaused, platformRequest, resumeRequest |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FontTestlet()
Method Detail |
---|
public void init() throws javax.microedition.midlet.MIDletStateChangeException
javax.microedition.midlet.MIDletStateChangeException
public void startApp() throws javax.microedition.midlet.MIDletStateChangeException
startApp
in class javax.microedition.midlet.MIDlet
javax.microedition.midlet.MIDletStateChangeException
public void pauseApp()
pauseApp
in class javax.microedition.midlet.MIDlet
public void destroyApp(boolean cond)
destroyApp
in class javax.microedition.midlet.MIDlet
cond
- true if this is an unconditional destroy
false if it is not
currently ignored and treated as truepublic void paint(javax.microedition.lcdui.Graphics g)
javax.microedition.lcdui.Command getCurrentCommand()
public void commandAction(javax.microedition.lcdui.Command cmd, javax.microedition.lcdui.Displayable disp)
commandAction
in interface javax.microedition.lcdui.CommandListener
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |