return EventTypes.MouseDragBeginMask | EventTypes.MouseMovedMask | EventTypes.MouseButtonReleasedMask | EventTypes.KeyPressedMask;
}
- private static boolean isEventDummy(MouseDragBegin e) {
+ protected static boolean isEventDummy(MouseDragBegin e) {
if (e.controlPosition.distance(0, 0) == 0
&& e.screenPosition.distance(0, 0) == 0
&& e.buttons == 0) {
}
}
- private boolean dragging = false;
- private Point2D dragBegin = null;
- private Point2D currentDrag = null;
+ protected boolean dragging = false;
+ protected Point2D dragBegin = null;
+ protected Point2D currentDrag = null;
private Function1<Vec2d, Boolean> translator = null;
private static double FACTOR = 1.0;