© 2006-2007 ETH Zurich

org.ximtec.igesture.algorithm.siger
Class ClassMatcher

java.lang.Object
  extended by org.ximtec.igesture.algorithm.siger.ClassMatcher

public class ClassMatcher
extends Object

Instantiated Regex of a gesture class.

Version:
1.0 Dec 2006
Author:
Ueli Kurmann, igesture@uelikurmann.ch, Beat Signer, signer@inf.ethz.ch

Constructor Summary
ClassMatcher(String description)
           
 
Method Summary
 boolean isMatch(StrokeInfo strokeInfo)
          Tests if a stroke matches the gesture class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassMatcher

public ClassMatcher(String description)
Method Detail

isMatch

public boolean isMatch(StrokeInfo strokeInfo)
Tests if a stroke matches the gesture class.

Parameters:
strokeInfo - the stroke to be tested.
Returns:
true if there is a match.

© 2006-2007 ETH Zurich

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