com.oziexplorer
Interface ObjectClickCallback


public interface ObjectClickCallback

Interface for intercepting OziAPI object clicks.

Copyright 2011 Alan Burlison, . All rights reserved. Use is subject to license terms, see LICENSE.txt.
SourceForge.net


Method Summary
 void objectClickCallback(ObjectClickType type, LatLon latLon, UTMGridRef gridRef, String objectName)
          This method will be called back when a map object is clicked on in OziExplorer.
 

Method Detail

objectClickCallback

void objectClickCallback(ObjectClickType type,
                         LatLon latLon,
                         UTMGridRef gridRef,
                         String objectName)
This method will be called back when a map object is clicked on in OziExplorer. Callbacks can be enabled by calling OziAPI.objectClickOn(ObjectClickCallback).

Parameters:
type - type of object clicked on.
latLon - (lattitude, longitude) of the click.
gridRef - UTM grid reference of the click.
objectName - Name of the clicked object.