summaryrefslogtreecommitdiffstats
path: root/android/source/src/java/org/libreoffice/canvas/SelectionHandleEnd.java
diff options
context:
space:
mode:
Diffstat (limited to 'android/source/src/java/org/libreoffice/canvas/SelectionHandleEnd.java')
-rw-r--r--android/source/src/java/org/libreoffice/canvas/SelectionHandleEnd.java23
1 files changed, 23 insertions, 0 deletions
diff --git a/android/source/src/java/org/libreoffice/canvas/SelectionHandleEnd.java b/android/source/src/java/org/libreoffice/canvas/SelectionHandleEnd.java
new file mode 100644
index 000000000000..c13ad1fc8f7d
--- /dev/null
+++ b/android/source/src/java/org/libreoffice/canvas/SelectionHandleEnd.java
@@ -0,0 +1,23 @@
+package org.libreoffice.canvas;
+
+import android.content.Context;
+import android.graphics.Bitmap;
+
+import org.libreoffice.R;
+
+/**
+ * Selection handle for showing and manipulating the end of a selection.
+ */
+public class SelectionHandleEnd extends SelectionHandle {
+ public SelectionHandleEnd(Context context) {
+ super(getBitmapForDrawable(context, R.drawable.handle_end));
+ }
+
+ /**
+ * Define the type of the handle.
+ */
+ @Override
+ public HandleType getHandleType() {
+ return HandleType.END;
+ }
+}