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

    Modifier and Type Method Description
    double getLat()  
    double getLon()  
    PointD getLonLat()
    Returns the longitude, latitude for this object or null if this object doesn't have a location.
    java.lang.String getName()  
    java.lang.String getText()  
    void setLat​(double lat)  
    void setLat​(java.lang.String lat)  
    void setLon​(double lon)  
    void setLon​(java.lang.String lon)  
    void setName​(java.lang.String name)  
    void setText​(java.lang.String text)  
    java.lang.String toString()  

    Methods inherited from class org.eclipse.nebula.widgets.geomap.jface.Located.Static

    setLonLat

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getLonLat

      public PointD getLonLat()
      Description copied from interface: Located
      Returns 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:
      toString in class java.lang.Object