|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--javax.microedition.midlet.MIDletScheduler
Schedules the MIDlets for running.
| Field Summary | |
static int |
ACTIVE
|
static int |
ALL_STATES
|
static int |
DESTROYED
|
static int |
NOT_SET
|
static int |
PAUSED
|
static int |
PAUSED_AWAITING_RUN
|
| Constructor Summary | |
MIDletScheduler()
|
|
MIDletScheduler(Vector listOfAvailableSuites)
|
|
| Method Summary | |
static void |
destroyApp(MIDlet midlet,
boolean unconditional)
Provides access to the MIDlet destroyApp method |
static Vector |
getListOfMIDlets(int states)
Returns a list of MIDlets which match any of the given states. |
static MIDlet |
getRunningMIDlet()
Returns the currently running MIDlet. |
static void |
go()
This is the entry point for the MIDletScheduler. |
static void |
pauseApp(MIDlet midlet)
Provides access to the MIDlet pauseApp method |
static void |
setDynamicClassLoader(MIDlet midlet,
DynamicClassLoader cl)
Store the DynamicClassLoader that was used to load the midlet in the associated MidletState object. |
static void |
startApp(MIDlet midlet)
Provides access to the MIDlet startApp method |
static void |
updateMIDletStatus(MIDlet midlet,
int state)
Updates the state of a given MIDlet. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int NOT_SET
public static final int PAUSED
public static final int PAUSED_AWAITING_RUN
public static final int ACTIVE
public static final int DESTROYED
public static final int ALL_STATES
| Constructor Detail |
public MIDletScheduler()
public MIDletScheduler(Vector listOfAvailableSuites)
| Method Detail |
public static void startApp(MIDlet midlet)
throws MIDletStateChangeException
midlet - The midlet to start
MIDletStateChangeExceptionpublic static void pauseApp(MIDlet midlet)
midlet - The midlet to pause
public static void destroyApp(MIDlet midlet,
boolean unconditional)
throws MIDletStateChangeException
midlet - The midlet to destroy
MIDletStateChangeException
public static void updateMIDletStatus(MIDlet midlet,
int state)
midlet - The MIDlet for which the state should be updatedstate - The new requested state of the MIDlet
public static void setDynamicClassLoader(MIDlet midlet,
DynamicClassLoader cl)
public static Vector getListOfMIDlets(int states)
states - The list of states for which MIDlets should be returnedpublic static MIDlet getRunningMIDlet()
public static void go()
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||