|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--location.generators.FakeSatelliteInfoGenerator
Generates random fake satellite information.
| Constructor Summary | |
FakeSatelliteInfoGenerator(FakeGPSMonitor fgm)
|
|
| Method Summary | |
protected GpsInfoEvent |
genRandomGpsInfo()
Generates a randome GpsInfoEvent. |
void |
run()
Periodically changes the GpsInfoEvent being reported by the FakeGPSMonitor. |
void |
setPeriod(int period)
Sets the period of updates. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FakeSatelliteInfoGenerator(FakeGPSMonitor fgm)
| Method Detail |
public void setPeriod(int period)
period - the period in millisecondsprotected GpsInfoEvent genRandomGpsInfo()
public void run()
run in interface java.lang.Runnable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||