st
Class SmartTicket
java.lang.Object
|
+--javax.microedition.midlet.MIDlet
|
+--st.SmartTicket
- All Implemented Interfaces:
- javax.microedition.lcdui.CommandListener
- public class SmartTicket
- extends javax.microedition.midlet.MIDlet
- implements javax.microedition.lcdui.CommandListener
Main application.
Method Summary |
void |
commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
|
void |
destroyApp(boolean unconditional)
|
protected static java.lang.String |
getMsg(int key)
Return the localized message for the given key. |
void |
pauseApp()
|
void |
startApp()
|
void |
stopLoading()
Finish the operation that required a separate thread. |
void |
stopLoading(java.lang.Exception e)
Finish the operation that required a separate thread, but ended
prematurely (either because it was stopped or encountered an exception.) |
void |
updateGauge(int value)
Update the progress gauge with the given value. |
Methods inherited from class javax.microedition.midlet.MIDlet |
getAppProperty, notifyDestroyed, notifyPaused, resumeRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SmartTicket
public SmartTicket()
startApp
public void startApp()
- Overrides:
startApp
in class javax.microedition.midlet.MIDlet
pauseApp
public void pauseApp()
- Overrides:
pauseApp
in class javax.microedition.midlet.MIDlet
destroyApp
public void destroyApp(boolean unconditional)
- Overrides:
destroyApp
in class javax.microedition.midlet.MIDlet
commandAction
public void commandAction(javax.microedition.lcdui.Command c,
javax.microedition.lcdui.Displayable d)
- Specified by:
commandAction
in interface javax.microedition.lcdui.CommandListener
stopLoading
public void stopLoading()
- Finish the operation that required a separate thread.
- See Also:
stopLoading
public void stopLoading(java.lang.Exception e)
- Finish the operation that required a separate thread, but ended
prematurely (either because it was stopped or encountered an exception.)
- See Also:
updateGauge
public void updateGauge(int value)
throws ApplicationException
- Update the progress gauge with the given value.
getMsg
protected static java.lang.String getMsg(int key)
- Return the localized message for the given key.
Copyright © 2002 Sun Microsystems Inc. All rights reserved.