Package ch.bailu.gtk.gtk
Interface GesturePan.OnPan
- Enclosing class:
- GesturePan
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onPan
(int direction, double offset) Emitted once a panning gesture along the expected axis is detected.
-
Method Details
-
onPan
void onPan(int direction, double offset) Emitted once a panning gesture along the expected axis is detected.- Parameters:
direction
- current direction of the pan gestureoffset
- Offset along the gesture orientation
-