|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.microedition.midlet.MIDlet
example.text.TextViewer
public class TextViewer
A text viewer.
Field Summary | |
---|---|
(package private) javax.microedition.content.Registry |
registry
The registry for access to invocations and responses. |
Constructor Summary | |
---|---|
TextViewer()
Create a new Text viewer and set the display. |
Method Summary | |
---|---|
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable s)
Respond to commands |
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Item item)
Handle selection of URL item. |
protected void |
destroyApp(boolean forced)
MIDlet is being destroyed. |
protected void |
pauseApp()
|
void |
run()
Pickup the responses to previous Invocations.1 |
(package private) void |
setupFavorites()
Show the favorites screen. |
(package private) void |
show(javax.microedition.content.Invocation invoc)
Received a new Invocation, display the contents of the URL in the Form. |
(package private) void |
showAlert(java.lang.String message)
Show an alert with an error message. |
protected void |
startApp()
Nothing to do, display already set |
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 |
Field Detail |
---|
javax.microedition.content.Registry registry
Constructor Detail |
---|
public TextViewer()
Method Detail |
---|
protected void startApp()
startApp
in class javax.microedition.midlet.MIDlet
protected void pauseApp()
pauseApp
in class javax.microedition.midlet.MIDlet
protected void destroyApp(boolean forced)
destroyApp
in class javax.microedition.midlet.MIDlet
forced
- to exit; this midlet always cooperatesvoid show(javax.microedition.content.Invocation invoc)
invoc
- the new ACTIVE invocation.void showAlert(java.lang.String message)
message
- the message to showvoid setupFavorites()
public void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Displayable s)
commandAction
in interface javax.microedition.lcdui.CommandListener
c
- the command invokeds
- the screen with the commandpublic void commandAction(javax.microedition.lcdui.Command c, javax.microedition.lcdui.Item item)
commandAction
in interface javax.microedition.lcdui.ItemCommandListener
c
- the commanditem
- the Item to which the command appliespublic void run()
run
in interface java.lang.Runnable
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |