org.achartengine
Interface ITouchHandler

All Known Implementing Classes:
TouchHandler, TouchHandlerOld

public interface ITouchHandler

The interface to be implemented by the touch handlers.


Method Summary
 void addPanListener(PanListener listener)
          Adds a new pan listener.
 void addZoomListener(ZoomListener listener)
          Adds a new zoom listener.
 boolean handleTouch(android.view.MotionEvent event)
          Handles the touch event.
 void removePanListener(PanListener listener)
          Removes a pan listener.
 void removeZoomListener(ZoomListener listener)
          Removes a zoom listener.
 

Method Detail

handleTouch

boolean handleTouch(android.view.MotionEvent event)
Handles the touch event.

Parameters:
event - the touch event
Returns:
true if the event was handled

addZoomListener

void addZoomListener(ZoomListener listener)
Adds a new zoom listener.

Parameters:
listener - zoom listener

removeZoomListener

void removeZoomListener(ZoomListener listener)
Removes a zoom listener.

Parameters:
listener - zoom listener

addPanListener

void addPanListener(PanListener listener)
Adds a new pan listener.

Parameters:
listener - pan listener

removePanListener

void removePanListener(PanListener listener)
Removes a pan listener.

Parameters:
listener - pan listener


Copyright © 2009 - 2011 4ViewSoft. All Rights Reserved.