-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathClipboardFormat.java
More file actions
61 lines (50 loc) · 2.02 KB
/
ClipboardFormat.java
File metadata and controls
61 lines (50 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
package io.github.humbleui.jwm;
import lombok.*;
import java.util.*;
import org.jetbrains.annotations.*;
@Data
public class ClipboardFormat {
/**
* <p>Represents a plain string.</p>
* <p>Uses system built-in format and encoding for proper text transfer.</p>
* <p>On Windows uses utf-16 for unicode text encoding.</p>
* <p>On Linux/macOS uses utf-8 for unicode text encoding.</p>
*/
public static ClipboardFormat TEXT = Clipboard._registerPredefinedFormat("text/plain");
/**
* <p>Represents a rich text formatted string.</p>
* <p>Uses system built-in format (if present) and encoding for proper text transfer.</p>
*/
public static ClipboardFormat RTF = Clipboard._registerPredefinedFormat("text/rtf");
/**
* <p>Represents an HTML formatted string.</p>
* <p>Uses system built-in format (if present) and encoding for proper text transfer.</p>
*/
public static ClipboardFormat HTML = Clipboard._registerPredefinedFormat("text/html");
/**
* <p>Represents URL, encoded as string.</p>
* <p>Uses system built-in format (if present) and encoding for proper text transfer.</p>
*/
public static ClipboardFormat URL = Clipboard._registerPredefinedFormat("text/url");
/**
* <p>Note: not supported yet.</p>
*/
public static ClipboardFormat WIN_BITMAP = Clipboard._registerPredefinedFormat("win/bitmap");
/**
* <p>Note: not supported yet.</p>
*/
public static ClipboardFormat WIN_TIFF = Clipboard._registerPredefinedFormat("win/tiff");
/**
* <p>Note: not supported yet.</p>
*/
public static ClipboardFormat MAC_PNG = Clipboard._registerPredefinedFormat("mac/png");
/**
* <p>Note: not supported yet.</p>
*/
public static ClipboardFormat MAC_PDF = Clipboard._registerPredefinedFormat("mac/pdf");
/**
* <p>Note: not supported yet.</p>
*/
public static ClipboardFormat MAC_COLOR = Clipboard._registerPredefinedFormat("mac/color");
@ApiStatus.Internal public final String _formatId;
}