switch (_myType) {
case ActionManagerMT.ZOOM_GESTURE:
event = new ZoomEvent(_scale, location, time);
break;
case ActionManagerMT.ROTATE_GESTURE:
event = new RotateEvent(_rotation, location, time);
break;
case ActionManagerMT.MULTI_POINT_DRAG_GESTURE:
if (locationLast != null) {
Vector3f dxy = locationLast.getVector(location);
event = new DragEvent(dxy.x, dxy.y, 2, time);