Class SearchServer.Result

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.nebula.widgets.geomap.jface.Located

        Located.Static
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private double lat  
      private double lon  
      private java.lang.String name  
      private java.lang.String text  
    • Constructor Summary

      Constructors 
      Constructor Description
      Result()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • lon

        private double lon
      • lat

        private double lat
      • name

        private java.lang.String name
      • text

        private java.lang.String text
    • Constructor Detail

      • Result

        public Result()
    • Method Detail

      • 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