com.partnersoft.gps
Class RangefinderSettings

java.lang.Object
  extended by com.partnersoft.gps.RangefinderSettings
All Implemented Interfaces:
Coggable

public class RangefinderSettings
extends java.lang.Object
implements Coggable

Author:
Russell Cagle Copyright 2006 Partner Software, Inc.

Constructor Summary
RangefinderSettings()
           
RangefinderSettings(Cog state)
           
 
Method Summary
 int getBaudRate()
          Gets the value of baudRate
 int getDataBits()
          Gets the value of dataBits
 java.lang.String getParity()
          Gets the value of parity
 int getParityCode()
           
 java.lang.String getPortName()
          Gets the value of portName
 int getRefreshRate()
          Gets the value of refreshRate
 java.lang.String getStopBits()
          Gets the value of stopBits
 boolean isEnabled()
          Gets the value of enabled
 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 setParity(java.lang.String argParity)
          Sets the value of parity
 void setPortName(java.lang.String argPortName)
          Sets the value of portName
 void setRefreshRate(int argRefreshRate)
          Sets the value of refreshRate
 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
 

Constructor Detail

RangefinderSettings

public RangefinderSettings()

RangefinderSettings

public RangefinderSettings(Cog state)
Method Detail

toCog

public Cog toCog()
Description copied from interface: Coggable
Returns the complete internal state of this object in the form of a Cog.

Specified by:
toCog in interface Coggable
Returns:
Cog representing the internal state of this object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getParityCode

public int getParityCode()

isEnabled

public boolean isEnabled()
Gets the value of enabled

Returns:
the value of enabled

setEnabled

public void setEnabled(boolean argEnabled)
Sets the value of enabled

Parameters:
argEnabled - Value to assign to this.enabled

getRefreshRate

public int getRefreshRate()
Gets the value of refreshRate

Returns:
the value of refreshRate

setRefreshRate

public void setRefreshRate(int argRefreshRate)
Sets the value of refreshRate

Parameters:
argRefreshRate - Value to assign to this.refreshRate

getPortName

public java.lang.String getPortName()
Gets the value of portName

Returns:
the value of portName

setPortName

public void setPortName(java.lang.String argPortName)
Sets the value of portName

Parameters:
argPortName - Value to assign to this.portName

getBaudRate

public int getBaudRate()
Gets the value of baudRate

Returns:
the value of baudRate

setBaudRate

public void setBaudRate(int argBaudRate)
Sets the value of baudRate

Parameters:
argBaudRate - Value to assign to this.baudRate

getDataBits

public int getDataBits()
Gets the value of dataBits

Returns:
the value of dataBits

setDataBits

public void setDataBits(int argDataBits)
Sets the value of dataBits

Parameters:
argDataBits - Value to assign to this.dataBits

getStopBits

public java.lang.String getStopBits()
Gets the value of stopBits

Returns:
the value of stopBits

setStopBits

public void setStopBits(java.lang.String argStopBits)
Sets the value of stopBits

Parameters:
argStopBits - Value to assign to this.stopBits

getParity

public java.lang.String getParity()
Gets the value of parity

Returns:
the value of parity

setParity

public void setParity(java.lang.String argParity)
Sets the value of parity

Parameters:
argParity - Value to assign to this.parity