com.partnersoft.v3x.apps.StakingBuddy
Class StakingBuddyRedlineNode

java.lang.Object
  extended by com.partnersoft.v3x.apps.StakingBuddy.StakingBuddyRedlineNode

public class StakingBuddyRedlineNode
extends java.lang.Object


Constructor Summary
StakingBuddyRedlineNode()
          Create a new StakingBuddyLocation.
 
Method Summary
 java.lang.String getKey()
          ID of redline node.
 double getMapx()
          Retieve the current value of map x for this instance.
 double getMapy()
          Get map y.
 java.lang.String getParentKey()
          ID of parent redline node.
 java.util.Map getRedlineNodeInfo()
           
 java.lang.String getRedlineTypeName()
          Type name of redline node.
 int getStakingBuddyGpsID()
          accessor methods for GPS ID
 double getStartLatitude()
          Latitude of point.
 double getStartLongitude()
          Longitude of point.
 void measure(Projection projection, double offsetx, double offsety)
          Figures out (x, y) based on (latitude, longitude) and (mapx, mapy).
 java.lang.String redlineNodestoString()
          toString() method of the class
 void setKey(java.lang.String newKey)
          ID of redline node.
 void setMapx(double newMapx)
          Copied from the mapset, although be careful because it's copied from the highlight data which is stored as imprecise 32-bit floats.
 void setMapy(double newMapy)
          Mapy sounds like an adjective, doesn't it?
 void setParentKey(java.lang.String newParentKey)
          ID of parent redline node.
 void setRedlineNodeInfo(java.util.Map redlineNodeInfo)
           
 void setRedlineTypeName(java.lang.String newRedlineTypeName)
          Type name of redline node.
 void setStakingBuddyGpsID(int newStakingBuddyGpsID)
           
 void setStartLatitude(double newLatitude)
          Latitude of point.
 void setStartLongitude(double newLongitude)
          Longitude of point.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StakingBuddyRedlineNode

public StakingBuddyRedlineNode()
Create a new StakingBuddyLocation.

Method Detail

getRedlineTypeName

public java.lang.String getRedlineTypeName()
Type name of redline node.


setRedlineTypeName

public void setRedlineTypeName(java.lang.String newRedlineTypeName)
Type name of redline node.


getStartLatitude

public double getStartLatitude()
Latitude of point.


setStartLatitude

public void setStartLatitude(double newLatitude)
Latitude of point.


getStartLongitude

public double getStartLongitude()
Longitude of point.


setStartLongitude

public void setStartLongitude(double newLongitude)
Longitude of point.


setMapx

public void setMapx(double newMapx)
Copied from the mapset, although be careful because it's copied from the highlight data which is stored as imprecise 32-bit floats. Spherical coordinates take precedence over state plane coordinates, but state plane coordinates might be all we have if there's no projection. See StakingBuddyData for how we put the point on a map.


getMapx

public double getMapx()
Retieve the current value of map x for this instance.


setMapy

public void setMapy(double newMapy)
Mapy sounds like an adjective, doesn't it?


getMapy

public double getMapy()
Get map y.


measure

public void measure(Projection projection,
                    double offsetx,
                    double offsety)
Figures out (x, y) based on (latitude, longitude) and (mapx, mapy).


getRedlineNodeInfo

public java.util.Map getRedlineNodeInfo()

setRedlineNodeInfo

public void setRedlineNodeInfo(java.util.Map redlineNodeInfo)

getKey

public java.lang.String getKey()
ID of redline node.


setKey

public void setKey(java.lang.String newKey)
ID of redline node.


getParentKey

public java.lang.String getParentKey()
ID of parent redline node.


setParentKey

public void setParentKey(java.lang.String newParentKey)
ID of parent redline node.


getStakingBuddyGpsID

public int getStakingBuddyGpsID()
accessor methods for GPS ID


setStakingBuddyGpsID

public void setStakingBuddyGpsID(int newStakingBuddyGpsID)

redlineNodestoString

public java.lang.String redlineNodestoString()
toString() method of the class