|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.gps.GPSSettings
public class GPSSettings
Various settings for GPS support.
| Field Summary | |
|---|---|
static java.lang.String |
NMEA_GPS
|
static java.lang.String |
SIMULATED_GPS
|
static java.lang.String |
TRIMBLE_GPS
|
| Constructor Summary | |
|---|---|
GPSSettings()
|
|
GPSSettings(Cog state)
|
|
| Method Summary | |
|---|---|
int |
getBaudRate()
Gets the value of baudRate |
int |
getDataBits()
Gets the value of dataBits |
java.lang.String |
getGpsType()
|
java.lang.String |
getParity()
Gets the value of parity |
int |
getParityCode()
|
java.lang.String |
getPathfinderDirectory()
|
java.lang.String |
getPortName()
Gets the value of portName |
java.lang.String |
getProjectionName()
Gets the value of projectionName |
int |
getRefreshRate()
Gets the value of refreshRate |
double |
getSimulationCenterX()
|
double |
getSimulationCenterY()
|
java.lang.String |
getStopBits()
Gets the value of stopBits |
boolean |
isEnabled()
Gets the value of enabled |
boolean |
isPostProcessingEnabled()
|
boolean |
isRotatingMapWithGps()
|
boolean |
isShowingPrnNumbers()
|
void |
setBaudRate(int argBaudRate)
Sets the value of baudRate |
void |
setDataBits(int argDataBits)
Sets the value of dataBits |
void |
setEnabled(boolean argEnabled)
Sets the value of enabled |
void |
setGpsType(java.lang.String gpsType)
|
void |
setParity(java.lang.String argParity)
Sets the value of parity |
void |
setPathfinderDirectory(java.lang.String pathfinderDirectory)
|
void |
setPortName(java.lang.String argPortName)
Sets the value of portName |
void |
setPostProcessingEnabled(boolean postProcessingEnabled)
|
void |
setProjectionName(java.lang.String argProjectionName)
Sets the value of projectionName |
void |
setRefreshRate(int argRefreshRate)
Sets the value of refreshRate |
void |
setRotateMapWithGps(boolean rotateMapWithGps)
|
void |
setShowingPrnNumbers(boolean showPrnNumbers)
|
void |
setSimulationCenterX(double simulationCenterX)
|
void |
setSimulationCenterY(double simulationCenterY)
|
void |
setStopBits(java.lang.String argStopBits)
Sets the value of stopBits |
Cog |
toCog()
Returns the complete internal state of this object in the form of a Cog. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NMEA_GPS
public static final java.lang.String SIMULATED_GPS
public static final java.lang.String TRIMBLE_GPS
| Constructor Detail |
|---|
public GPSSettings()
public GPSSettings(Cog state)
| Method Detail |
|---|
public Cog toCog()
CoggableCog.
toCog in interface Coggablepublic java.lang.String toString()
toString in class java.lang.Objectpublic int getParityCode()
public boolean isEnabled()
public void setEnabled(boolean argEnabled)
argEnabled - Value to assign to this.enabledpublic int getRefreshRate()
public void setRefreshRate(int argRefreshRate)
argRefreshRate - Value to assign to this.refreshRatepublic java.lang.String getPortName()
public void setPortName(java.lang.String argPortName)
argPortName - Value to assign to this.portName
java.lang.NullPointerException - if the port name is null.public int getBaudRate()
public void setBaudRate(int argBaudRate)
argBaudRate - Value to assign to this.baudRatepublic java.lang.String getProjectionName()
public void setProjectionName(java.lang.String argProjectionName)
argProjectionName - Value to assign to this.projectionName
java.lang.NullPointerException - if the projection name is null.public int getDataBits()
public void setDataBits(int argDataBits)
argDataBits - Value to assign to this.dataBitspublic java.lang.String getStopBits()
public void setStopBits(java.lang.String argStopBits)
argStopBits - Value to assign to this.stopBitspublic java.lang.String getParity()
public void setParity(java.lang.String argParity)
argParity - Value to assign to this.paritypublic java.lang.String getGpsType()
public void setGpsType(java.lang.String gpsType)
gpsType -
java.lang.NullPointerException - if the gpsType is null.public java.lang.String getPathfinderDirectory()
public void setPathfinderDirectory(java.lang.String pathfinderDirectory)
java.lang.NullPointerException - if the gpsType is null.public boolean isPostProcessingEnabled()
public void setPostProcessingEnabled(boolean postProcessingEnabled)
public double getSimulationCenterX()
public void setSimulationCenterX(double simulationCenterX)
public double getSimulationCenterY()
public void setSimulationCenterY(double simulationCenterY)
public boolean isShowingPrnNumbers()
public void setShowingPrnNumbers(boolean showPrnNumbers)
public boolean isRotatingMapWithGps()
public void setRotateMapWithGps(boolean rotateMapWithGps)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||