com.esri.android.map.event
Interface OnPanListener

All Superinterfaces:
Serializable

public interface OnPanListener
extends Serializable

Implement this listener to extend the default pan handling of a map view.


Method Summary
 void postPointerMove(float fromx, float fromy, float tox, float toy)
          Defines the action after the map default move handling.
 void postPointerUp(float fromx, float fromy, float tox, float toy)
          Defines the action after the map default pointer up handling.
 void prePointerMove(float fromx, float fromy, float tox, float toy)
          Defines the action before the map default move handling.
 void prePointerUp(float fromx, float fromy, float tox, float toy)
          Defines the action before the map default pointer up handling.
 

Method Detail

prePointerMove

void prePointerMove(float fromx,
                    float fromy,
                    float tox,
                    float toy)
Defines the action before the map default move handling.

Parameters:
fromx - the x coordinate of the start point of the motion in screen pixels.
fromy - the y coordinate of the start point of the motion in screen pixels.
tox - the x coordinate of the end point of the motion in screen pixels.
toy - the y coordinate of the end point of the motion in screen pixels.

postPointerMove

void postPointerMove(float fromx,
                     float fromy,
                     float tox,
                     float toy)
Defines the action after the map default move handling.

Parameters:
fromx - the x coordinate of the start point of the motion in screen pixels.
fromy - the y coordinate of the start point of the motion in screen pixels.
tox - the x coordinate of the end point of the motion in screen pixels.
toy - the y coordinate of the end point of the motion in screen pixels.

prePointerUp

void prePointerUp(float fromx,
                  float fromy,
                  float tox,
                  float toy)
Defines the action before the map default pointer up handling.

Parameters:
fromx - the x coordinate of the start point of the motion in screen pixels.
fromy - the y coordinate of the start point of the motion in screen pixels.
tox - the x coordinate of the end point of the motion in screen pixels.
toy - the y coordinate of the end point of the motion in screen pixels.

postPointerUp

void postPointerUp(float fromx,
                   float fromy,
                   float tox,
                   float toy)
Defines the action after the map default pointer up handling.

Parameters:
fromx - the x coordinate of the start point of the motion in screen pixels.
fromy - the y coordinate of the start point of the motion in screen pixels.
tox - the x coordinate of the end point of the motion in screen pixels.
toy - the y coordinate of the end point of the motion in screen pixels.


Copyright © 2012. All Rights Reserved.