|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.v3x.apps.MapBrowser.AbstractSelectableMapDataSource
com.partnersoft.v3x.apps.MapBrowser.MapPointSource
com.partnersoft.v3x.apps.GPS.GPSSource
public class GPSSource
the source for GPS points
| Constructor Summary | |
|---|---|
GPSSource()
|
|
GPSSource(java.util.ArrayList newGPSPoints)
|
|
| Method Summary | |
|---|---|
java.util.Iterator |
allPoints()
Returns an enumeration of all the map points. |
void |
clearSelection()
clears any selected points |
boolean |
containsSelected()
|
void |
createFauxPoints()
|
Coord3D |
getClosestPointTo(Coord3D pointClicked)
|
java.util.ArrayList |
getGPSPoints()
|
GPSPoint |
getSelectedPoint()
returns the currently selcted GPSPoint, this will return a null if none are selected |
double |
getShortestDistanceTo(Coord3D pointClicked)
this will return the shortest distance to a point contained in this source |
boolean |
isEmpty()
|
void |
removeSelected()
|
Coord3D |
selectClosestPointTo(Coord3D pointClicked)
|
void |
setGPSPoints(java.util.ArrayList newList)
|
| Methods inherited from class com.partnersoft.v3x.apps.MapBrowser.MapPointSource |
|---|
createDefaultRenderer, createSpecifier, fireChanged, getHiliteSource, getIndicatorSource, getPoints, setPoints, setSpace |
| Methods inherited from class com.partnersoft.v3x.apps.MapBrowser.AbstractSelectableMapDataSource |
|---|
addChangeListener, getImageLibraries, getName, getPath, isVerbose, removeChangeListener, setImageLibraries, setName, setPath, setVerbose |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GPSSource(java.util.ArrayList newGPSPoints)
public GPSSource()
| Method Detail |
|---|
public double getShortestDistanceTo(Coord3D pointClicked)
public Coord3D getClosestPointTo(Coord3D pointClicked)
public Coord3D selectClosestPointTo(Coord3D pointClicked)
public GPSPoint getSelectedPoint()
public void clearSelection()
public boolean containsSelected()
public void removeSelected()
public boolean isEmpty()
public java.util.Iterator allPoints()
MapPointSource
allPoints in class MapPointSourcepublic void createFauxPoints()
public void setGPSPoints(java.util.ArrayList newList)
public java.util.ArrayList getGPSPoints()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||