com.azalient.api.b.display
Interface IWebImageFetcher


public interface IWebImageFetcher

A web image fetcher connects to the Internet and downloads an aerial photo image from a pre-configured web server


Method Summary
 String imageCountry()
          Returns the "country" field for geo-location.
 void imageCountry(String s)
          Sets the "country" field for geo-location
 IUndoable imageFetch(JFrame parent, IXyz centre)
          This will raise a dialog, pre-filled with state and country information, and street information if it can be deduced from the current location, and prompt the user to modify this information to suit.
 String imageState()
          Returns the "state" field for geo-location.
 void imageState(String s)
          Sets the "state" field for geo-location
 

Method Detail

imageState

String imageState()
Returns the "state" field for geo-location. For geo-location, some context information is required, in addition to street names. This is the "state" field which might translate to "county" or "region" in some countries.


imageCountry

String imageCountry()
Returns the "country" field for geo-location. For geo-location, some context information is required, in addition to street names. This is the "country" field.


imageState

void imageState(String s)
Sets the "state" field for geo-location


imageCountry

void imageCountry(String s)
Sets the "country" field for geo-location


imageFetch

IUndoable imageFetch(JFrame parent,
                     IXyz centre)
This will raise a dialog, pre-filled with state and country information, and street information if it can be deduced from the current location, and prompt the user to modify this information to suit. On OK, the it will then fetch an image from the web server, and place it at the given location on the Commuter model