de.soldin.gt2jump.gps
Class GPSTracker
java.lang.Object
de.soldin.gt2jump.gps.GPSTracker
- All Implemented Interfaces:
- ComponentListener, EventListener, PropertyChangeListener, Runnable
- public class GPSTracker
- extends Object
- implements ComponentListener, PropertyChangeListener, Runnable
The GPSTracker
combines the capabilities of
When this threads run()
method is called, it initializes
the org.dinopolis.gpstool
components necessary for
gps reception.
It registers itself as listener to a GPSDataProcessor
and runs then in background receiving the gps events.
GPSTracker
public GPSTracker(GPSTrackerPlugin parent,
com.vividsolutions.jump.workbench.plugin.PlugInContext context)
setViewport
public void setViewport(com.vividsolutions.jump.workbench.ui.Viewport vp)
start
public void start()
run
public void run()
- Specified by:
run
in interface Runnable
stop
public void stop()
wake
public void wake()
restart
public void restart()
propertyChange
public void propertyChange(PropertyChangeEvent event)
- Specified by:
propertyChange
in interface PropertyChangeListener
getPosition
public com.vividsolutions.jts.geom.Coordinate getPosition()
componentHidden
public void componentHidden(ComponentEvent e)
- Specified by:
componentHidden
in interface ComponentListener
componentMoved
public void componentMoved(ComponentEvent e)
- Specified by:
componentMoved
in interface ComponentListener
componentResized
public void componentResized(ComponentEvent e)
- Specified by:
componentResized
in interface ComponentListener
componentShown
public void componentShown(ComponentEvent e)
- Specified by:
componentShown
in interface ComponentListener