© 2006-2007 ETH Zurich

org.ximtec.igesture.geco.mapping
Class GestureToActionMapping

java.lang.Object
  extended by org.ximtec.igesture.geco.mapping.GestureToActionMapping

public class GestureToActionMapping
extends Object

Interface describing general Action for Gesture mapping

Version:
0.9, Nov 19, 2007
Author:
Michele Croci, mcroci@gmail.com

Field Summary
protected  GestureAction action
           
protected  GestureClass gestureClass
           
 
Constructor Summary
GestureToActionMapping(GestureClass gesture, GestureAction action)
          Constructor
 
Method Summary
 GestureAction getAction()
          Returns the action
 GestureClass getGestureClass()
          Returns the gesture class
 String toString()
          Returns the gesture class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

gestureClass

protected GestureClass gestureClass

action

protected GestureAction action
Constructor Detail

GestureToActionMapping

public GestureToActionMapping(GestureClass gesture,
                              GestureAction action)
Constructor

Parameters:
gesture - the gesture class
action - the action corresponding to the gesture
Method Detail

getGestureClass

public GestureClass getGestureClass()
Returns the gesture class

Returns:
the gesture class

toString

public String toString()
Returns the gesture class

Overrides:
toString in class Object
Returns:
the description of the Mapping

getAction

public GestureAction getAction()
Returns the action

Returns:
the action

© 2006-2007 ETH Zurich

Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.