org.ximtec.igesture.algorithm.siger
Class ClassMatcher
java.lang.Object
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
|
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 |
ClassMatcher
public ClassMatcher(String description)
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.
Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.