| com.sun.midp.automation.AutoMIDlet
All known Subclasses: com.sun.midp.automation.AutoMIDletImpl,
AutoMIDlet | public interface AutoMIDlet (Code) | | Represents MIDlet in launched state.
|
getEventQueue | public AutoEventQueue getEventQueue()(Code) | | Gets MIDlet's event queue.
AutoEventQueue representing event queue. |
getForegroundState | public AutoMIDletForegroundState getForegroundState()(Code) | | Gets current foreground state.
AutoForegroundState representing currentforeground state |
getLifeCycleState | public AutoMIDletLifeCycleState getLifeCycleState()(Code) | | Gets current lifecycle state.
AutoLifeCycleState representing currentlifecycle state |
getMIDletDescriptor | public AutoMIDletDescriptor getMIDletDescriptor()(Code) | | Gets MIDlet's descriptor.
AutoMIDletDescriptor representing descriptor. |
switchTo | public void switchTo(AutoMIDletLifeCycleState state, boolean wait) throws IllegalStateException(Code) | | Initiates a switch (transition) from current to specified
lifecycle state.
Parameters: state - state to switch to Parameters: wait - if true, wait (block) until transition to the specified state has been completed throws: IllegalStateException - thrown when switching to specifiedstate is invalid |
switchTo | public void switchTo(AutoMIDletForegroundState state, boolean wait) throws IllegalStateException(Code) | | Initiates a switch (transition) from current to specified
foreground state.
Parameters: state - state to switch to Parameters: wait - if true, wait (block) until transition to the specified state has been completed throws: IllegalStateException - thrown when switching to specifiedstate is invalid |
waitFor | public void waitFor(AutoMIDletLifeCycleState state) throws IllegalStateException(Code) | | Waits (blocks) until MIDlet reaches specified lifecycle state.
Parameters: state - state to wait for throws: IlegalStateException - thrown if state to wait for is invalid,or if during waiting MIDlet has reached the state where waiting forspecified state is no longer valid |
waitFor | public void waitFor(AutoMIDletForegroundState state) throws IllegalStateException(Code) | | Waits (blocks) until MIDlet reaches specified foreground state.
Parameters: state - state to wait for throws: IlegalStateException - thrown if state to wait for is invalid,or if during waiting MIDlet has reached the state where waiting forspecified state is no longer valid |
|
|