GLG Toolkit, Java Class Library
Version 4.5
|
GlgGISRequestObserver object is used by the program receive notifications about the progress of a GIS map request. More...
GlgGISRequestObserver object is used by the program receive notifications about the progress of a GIS map request.
The object is passed as a parameter of the RequestGISZoom, RequestGISMap and SetScrollbarObserver methods.
Public Member Functions | |
boolean | AdjustRequest (GlgGISRequestData request_data) |
If RequestAdjustment returns true, this method is invoked before proceeding with the request to perform any desired adjustments to the request parameters. More... | |
boolean | RequestAdjustment () |
This method is invoked before proceeding with the request to determine if any adjustments need to be done. More... | |
void | RequestUpdate (GlgObject gis_object, int status) |
This method is invoked with the status of the GIS request when the GIS request becomes ready or is aborted. More... | |
boolean AdjustRequest | ( | GlgGISRequestData | request_data | ) |
If RequestAdjustment returns true, this method is invoked before proceeding with the request to perform any desired adjustments to the request parameters.
This may be used to adjust parameters of the request created by RequestGISZoom before the request is used to generate a new map image. The method must return true if any request paramets were modified.
request_data | Contains GIS parameters of the request. |
boolean RequestAdjustment | ( | ) |
This method is invoked before proceeding with the request to determine if any adjustments need to be done.
If this method returns true, AdjustRequest will be invoked to adjust request parameters before proceeding. For example, a map projection or displayed GIS layers may need to be changed depending on the map zoom factor.
void RequestUpdate | ( | GlgObject | gis_object, |
int | status | ||
) |
This method is invoked with the status of the GIS request when the GIS request becomes ready or is aborted.
gis_object | The GIS object of the request. |
status | The reason this observer method is invoked, may be one of the following constants: |