public class ConstraintTool extends Object
| Constructor and Description |
|---|
ConstraintTool() |
| Modifier and Type | Method and Description |
|---|---|
static long |
calculateTimeInMillis(Calendar time) |
static SimpleDateFormat |
getDateFormatter() |
static String |
getGestureType(String deviceType) |
static long |
getTimeStamp(Gesture<?> gesture,
boolean start)
Get the start or end timestamp of a gesture.
|
static boolean |
isBoundsDiagonalValid(List<org.sigtec.ink.Note> notes,
double minDistance,
double maxDistance) |
static void |
permute(int level,
String permuted,
boolean[] used,
String original,
Set<String> results) |
public static boolean isBoundsDiagonalValid(List<org.sigtec.ink.Note> notes, double minDistance, double maxDistance)
public static long calculateTimeInMillis(Calendar time)
public static void permute(int level,
String permuted,
boolean[] used,
String original,
Set<String> results)
public static long getTimeStamp(Gesture<?> gesture, boolean start)
gesture - the gesture from which to get the timestampstart - true to get the start timestamp, false to get the end timestamppublic static SimpleDateFormat getDateFormatter()
Copyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.