public abstract class AbstractGPSDevice extends java.lang.Object implements GPSDevice
Abstract base class for GPSDevices. Implements the listener methods.
Call caster.dispatchEvent(null) to udpate the GPS status.
| Modifier and Type | Field and Description |
|---|---|
protected EventMulticaster |
caster
Implements the caster.
|
| Constructor and Description |
|---|
AbstractGPSDevice() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGPSListener(GPSListener listener) |
void |
removeAllListeners()
Drops all listeners.
|
void |
removeGPSListener(GPSListener listener) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getConfigutron, getDeviceLabel, getDeviceType, getGpsState, getPostprocessing, isOpen, open, surveyLocationprotected transient EventMulticaster caster
public void addGPSListener(GPSListener listener)
addGPSListener in interface GPSDevicepublic void removeGPSListener(GPSListener listener)
removeGPSListener in interface GPSDevicepublic void removeAllListeners()
GPSDeviceremoveAllListeners in interface GPSDevice