|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GPSDevice
| Method Summary | |
|---|---|
void |
addGPSListener(GPSListener listener)
|
void |
close()
Close the GPS. |
javax.swing.JPanel |
getConfigutron()
Returns a property page for configuring the GPS. |
java.lang.String |
getDeviceLabel()
|
java.lang.String |
getDeviceType()
|
GPSState |
getGpsState()
Returns null if the GPS is not open. |
Postprocessing |
getPostprocessing()
|
boolean |
isOpen()
|
void |
open()
Open the GPS using the current settings. |
void |
removeAllListeners()
Drops all listeners. |
void |
removeGPSListener(GPSListener listener)
|
SurveyedLocation |
surveyLocation()
Called by MapEditLogic to survey a GPS location, which then gets passed in to MapEditActor through the MapEditContext. |
| Method Detail |
|---|
void addGPSListener(GPSListener listener)
void removeGPSListener(GPSListener listener)
java.lang.String getDeviceType()
java.lang.String getDeviceLabel()
void open()
throws java.io.IOException
java.io.IOExceptionvoid close()
boolean isOpen()
GPSState getGpsState()
javax.swing.JPanel getConfigutron()
SurveyedLocation surveyLocation()
Called by MapEditLogic to survey a GPS location, which then gets passed in to MapEditActor through the MapEditContext. Basically here so that the TrimbleDevice has the opportunity to throw up the CollectTrimbleDialog.
If it returns null, there is no reading available. In the case of the Trimble GPS, the user may have cancelled collecting.
The SurveyedLocation has a field for the GPS ID, which can be filled in if the GPSDevice implementation is doing post-processing.
Postprocessing getPostprocessing()
void removeAllListeners()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||