Class SearchServer.Result
- java.lang.Object
-
- org.eclipse.nebula.widgets.geomap.jface.Located.Static
-
- org.eclipse.nebula.widgets.geomap.jface.SearchServer.Result
-
- All Implemented Interfaces:
Located
- Direct Known Subclasses:
GoogleMapsSearchServer.SearchResult,OsmSearchServer.SearchResult
- Enclosing class:
- SearchServer
public static class SearchServer.Result extends Located.Static
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.nebula.widgets.geomap.jface.Located
Located.Static
-
-
Constructor Summary
Constructors Constructor Description Result()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetLat()doublegetLon()PointDgetLonLat()Returns the longitude, latitude for this object or null if this object doesn't have a location.java.lang.StringgetName()java.lang.StringgetText()voidsetLat(double lat)voidsetLat(java.lang.String lat)voidsetLon(double lon)voidsetLon(java.lang.String lon)voidsetName(java.lang.String name)voidsetText(java.lang.String text)java.lang.StringtoString()-
Methods inherited from class org.eclipse.nebula.widgets.geomap.jface.Located.Static
setLonLat
-
-
-
-
Method Detail
-
getLonLat
public PointD getLonLat()
Description copied from interface:LocatedReturns the longitude, latitude for this object or null if this object doesn't have a location.- Returns:
- the longitude, latitude as a PointD
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getText
public java.lang.String getText()
-
setText
public void setText(java.lang.String text)
-
getLon
public double getLon()
-
setLon
public void setLon(double lon)
-
setLon
public void setLon(java.lang.String lon)
-
getLat
public double getLat()
-
setLat
public void setLat(double lat)
-
setLat
public void setLat(java.lang.String lat)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-