| java.lang.Object com.sun.j2me.location.StubLocationListener
StubLocationListener | public class StubLocationListener implements LocationListener(Code) | | This class contains the simplified code for testing the JSR179
implementation.
|
getCurrLocation | public Location getCurrLocation()(Code) | | Return the current location.
current location |
getCurrState | public int getCurrState()(Code) | | Return the current state.
current state |
locationUpdated | public void locationUpdated(LocationProvider provider, Location location)(Code) | | locationUpdated implementation.
Parameters: provider - the source of the event Parameters: location - the location to which the event relates, i.e. the new position |
providerStateChanged | public void providerStateChanged(LocationProvider provider, int newState)(Code) | | providerStateChanged implementation.
Parameters: provider - the source of the event Parameters: newState - the new state of the LocationProvider. |
setCurrLocation | public void setCurrLocation(Location newLocation)(Code) | | Sets the current location.
Parameters: newLocation - new location for setting |
setCurrState | public void setCurrState(int newState)(Code) | | Sets the current state.
Parameters: newState - new state value |
|
|