Class Located.Static

  • All Implemented Interfaces:
    Located
    Direct Known Subclasses:
    SearchServer.Result
    Enclosing interface:
    Located

    public abstract static class Located.Static
    extends java.lang.Object
    implements Located
    A base implementation for read-only locations
    Since:
    3.3
    • Nested Class Summary

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

        Located.Static
    • Constructor Summary

      Constructors 
      Constructor Description
      Static()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean setLonLat​(double lon, double lat)
      Set the longitude, latitude for this object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.eclipse.nebula.widgets.geomap.jface.Located

        getLonLat
    • Constructor Detail

      • Static

        public Static()
    • Method Detail

      • setLonLat

        public boolean setLonLat​(double lon,
                                 double lat)
        Description copied from interface: Located
        Set the longitude, latitude for this object. Returns true if the change occurred, i.e. the operation was legal. Use setLonLat(getLonLat().x, getLonLat().y) to check without side-effect.
        Specified by:
        setLonLat in interface Located
        Parameters:
        lon - the new longitude
        lat - the new latitude
        Returns:
        if it was actually changed