org.ximtec.igesture.util
Class Mapping
java.lang.Object
org.ximtec.igesture.util.Mapping
public class Mapping
- extends Object
Name value mapping.
- Version:
- 1.0, Dec 2006
- Author:
- Ueli Kurmann, igesture@uelikurmann.ch, Beat Signer, signer@inf.ethz.ch
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNDEFINED
public static final int UNDEFINED
- See Also:
- Constant Field Values
MAP_TAG
public static final String MAP_TAG
- See Also:
- Constant Field Values
NAME_ATTRIBUTE
public static final String NAME_ATTRIBUTE
- See Also:
- Constant Field Values
VALUE_ATTRIBUTE
public static final String VALUE_ATTRIBUTE
- See Also:
- Constant Field Values
Mapping
public Mapping()
init
public static void init(File file)
toInt
public static final int toInt(String name)
- Converts a name to an integer.
- Parameters:
name - the name to be converted.
- Returns:
- the integer value.
toString
public static final String toString(int value)
- Returns the name.
- Parameters:
value - the integer value.
- Returns:
- the name.
Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.