© 2006-2007 ETH Zurich

org.ximtec.igesture.core
Interface Gesture<T>

All Known Implementing Classes:
GestureSample, GestureSample3D

public interface Gesture<T>

Gesture interface to be implemented by any gesture handling component.

Version:
1.0 11.04.2008
Author:
Ueli Kurmann, Beat Signer, signer@inf.ethz.ch

Method Summary
 void accept(Visitor visitor)
          Visitor implementation.
 T getGesture()
          Returns the gesture.
 String getName()
          Returns the name of the gesture.
 GestureDevice<?,?> getSource()
          Get the source device of the gesture.
 void setName(String name)
          Sets the name of the gesture.
 void setSource(GestureDevice<?,?> device)
          Set the source device of the gesture.
 

Method Detail

getGesture

T getGesture()
Returns the gesture.

Returns:
the gesture.

setName

void setName(String name)
Sets the name of the gesture.

Parameters:
name - the name of the gesture.

getName

String getName()
Returns the name of the gesture.

Returns:
the name of the gesture.

accept

void accept(Visitor visitor)
Visitor implementation.

Parameters:
visitor - the visitor.

getSource

GestureDevice<?,?> getSource()
Get the source device of the gesture.

Returns:
The source device.

setSource

void setSource(GestureDevice<?,?> device)
Set the source device of the gesture.

Parameters:
device - The source device.

© 2006-2007 ETH Zurich

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