|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.placelab.demo.jsr0179.Locator
| Constructor Summary | |
Locator()
|
|
| Method Summary | |
void |
locationUpdated(javax.microedition.location.LocationProvider provider,
javax.microedition.location.Location location)
Called by the LocationProvider to which this listener is registered. |
static void |
main(java.lang.String[] args)
|
void |
providerStateChanged(javax.microedition.location.LocationProvider provider,
int newState)
Called by the LocationProvider to which this listener is registered if the state of the LocationProvider has changed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Locator()
| Method Detail |
public void locationUpdated(javax.microedition.location.LocationProvider provider,
javax.microedition.location.Location location)
javax.microedition.location.LocationListener
locationUpdated in interface javax.microedition.location.LocationListenerprovider - the source of the eventlocation - the location to which the event relates, i.e. the new position
public void providerStateChanged(javax.microedition.location.LocationProvider provider,
int newState)
javax.microedition.location.LocationListener
providerStateChanged in interface javax.microedition.location.LocationListenerprovider - the source of the eventnewState - the new state of the LocationProvider. This value is one of
the constants for the state defined in the LocationProvider
class.public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||