This source file includes following definitions.
- setClipboard
- ownsClipboard
- clipboardExists
- getClipboard
- getClipboardTargets
- getClipboardData
- makeClipboard
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.gnu.emacs;
21
22 import android.os.Build;
23
24
25
26
27 public abstract class EmacsClipboard
28 {
29 public abstract void setClipboard (byte[] bytes);
30 public abstract int ownsClipboard ();
31 public abstract boolean clipboardExists ();
32 public abstract byte[] getClipboard ();
33
34 public abstract byte[][] getClipboardTargets ();
35 public abstract long[] getClipboardData (byte[] target);
36
37
38
39 public static EmacsClipboard
40 makeClipboard ()
41 {
42 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB)
43 return new EmacsSdk11Clipboard ();
44 else
45 return new EmacsSdk8Clipboard ();
46 }
47 };