sk.baka.ambient.views.gesturelist
Class TouchPadController

java.lang.Object
  extended by sk.baka.ambient.views.gesturelist.TouchPadController

final class TouchPadController
extends Object

Controls the GesturesListView component via the touchpad.

Author:
Martin Vysny

Constructor Summary
TouchPadController(GesturesListView view)
          Creates new controller.
 
Method Summary
(package private)  boolean onTouchEvent(MotionEvent event)
          Handles the View.onTouchEvent(MotionEvent) events.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TouchPadController

TouchPadController(GesturesListView view)
Creates new controller.

Parameters:
view - the view to control.
Method Detail

onTouchEvent

boolean onTouchEvent(MotionEvent event)
Handles the View.onTouchEvent(MotionEvent) events.

Parameters:
event - the event to handle
Returns:
if false then the event is not handled and should be routed to super class.


Copyright © 2007-2008. All Rights Reserved.