summaryrefslogtreecommitdiff
path: root/platform/java/src/kankan/wheel/widget/OnWheelScrollListener.java
diff options
context:
space:
mode:
authorfred ross-perry <fredross-perry@Fred-Ross-Perrys-Computer.local>2016-08-26 09:50:48 -0700
committerfred ross-perry <fredross-perry@Fred-Ross-Perrys-Computer.local>2016-09-14 08:53:32 -0700
commitffbe3db71ea0f96b408e22418547a8ff898f380e (patch)
tree2f34407ef3c229a949b0a2b514e307297437a169 /platform/java/src/kankan/wheel/widget/OnWheelScrollListener.java
parente18d11b63af0ca8a302f23b32ffc24578c830989 (diff)
downloadmupdf-ffbe3db71ea0f96b408e22418547a8ff898f380e.tar.xz
Android example - drawing ink annotations
This commit puts in the UI for drawing with color and line thickness. But it does not yet save this to the document.
Diffstat (limited to 'platform/java/src/kankan/wheel/widget/OnWheelScrollListener.java')
-rw-r--r--platform/java/src/kankan/wheel/widget/OnWheelScrollListener.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/platform/java/src/kankan/wheel/widget/OnWheelScrollListener.java b/platform/java/src/kankan/wheel/widget/OnWheelScrollListener.java
new file mode 100644
index 00000000..8571a4fe
--- /dev/null
+++ b/platform/java/src/kankan/wheel/widget/OnWheelScrollListener.java
@@ -0,0 +1,34 @@
+/*
+ * Copyright 2010 Yuri Kanivets
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package kankan.wheel.widget;
+
+/**
+ * Wheel scrolled listener interface.
+ */
+public interface OnWheelScrollListener {
+ /**
+ * Callback method to be invoked when scrolling started.
+ * @param wheel the wheel view whose state has changed.
+ */
+ void onScrollingStarted(WheelView wheel);
+
+ /**
+ * Callback method to be invoked when scrolling ended.
+ * @param wheel the wheel view whose state has changed.
+ */
+ void onScrollingFinished(WheelView wheel);
+}