class WinSystemClipboard extends SystemClipboard
Modifier and Type | Class and Description |
---|---|
private static class |
WinSystemClipboard.MimeTypeParser |
Modifier and Type | Field and Description |
---|---|
(package private) static java.lang.String |
defaultCharset |
private long |
ptr |
(package private) static java.lang.String |
RTFCharset |
(package private) static byte[] |
terminator |
ACTION_ANY, ACTION_COPY, ACTION_COPY_OR_MOVE, ACTION_MOVE, ACTION_NONE, ACTION_REFERENCE, DND, DRAG_IMAGE, DRAG_IMAGE_OFFSET, FILE_LIST_TYPE, HTML_TYPE, IE_URL_SHORTCUT_FILENAME, RAW_IMAGE_TYPE, RTF_TYPE, SELECTION, supportedActions, SYSTEM, TEXT_TYPE, URI_TYPE
Modifier | Constructor and Description |
---|---|
protected |
WinSystemClipboard(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
close() |
protected void |
create() |
protected void |
dispose() |
private byte[] |
fosSerialize(java.lang.String mime,
long index) |
protected long |
getPtr() |
private static void |
initIDs() |
protected boolean |
isOwner() |
protected java.lang.String[] |
mimesFromSystem() |
protected boolean |
pop() |
private byte[] |
popBytes(java.lang.String mime,
long index) |
protected java.lang.Object |
popFromSystem(java.lang.String mimeFull) |
private java.lang.String[] |
popMimesFromSystem() |
private int |
popSupportedSourceActions() |
protected void |
push(java.lang.Object[] keys,
int supportedActions) |
protected void |
pushTargetActionToSystem(int actionDone) |
protected void |
pushToSystem(java.util.HashMap<java.lang.String,java.lang.Object> cacheData,
int supportedActions) |
protected int |
supportedSourceActionsFromSystem() |
java.lang.String |
toString() |
flush, getData, getLocalData, getMimeTypes, getSupportedSourceActions, setTargetAction
actionPerformed, add, contentChanged, get, getActionString, getName, getPixelsForRawImage, remove, setSharedData
private long ptr
static final byte[] terminator
static final java.lang.String defaultCharset
static final java.lang.String RTFCharset
private static void initIDs()
protected final long getPtr()
protected boolean isOwner()
isOwner
in class SystemClipboard
protected void create()
protected void dispose()
protected void push(java.lang.Object[] keys, int supportedActions)
protected boolean pop()
private byte[] fosSerialize(java.lang.String mime, long index)
protected final void pushToSystem(java.util.HashMap<java.lang.String,java.lang.Object> cacheData, int supportedActions)
pushToSystem
in class SystemClipboard
private byte[] popBytes(java.lang.String mime, long index)
protected final java.lang.Object popFromSystem(java.lang.String mimeFull)
popFromSystem
in class SystemClipboard
private java.lang.String[] popMimesFromSystem()
protected final java.lang.String[] mimesFromSystem()
mimesFromSystem
in class SystemClipboard
public java.lang.String toString()
toString
in class SystemClipboard
protected void pushTargetActionToSystem(int actionDone)
pushTargetActionToSystem
in class SystemClipboard
private int popSupportedSourceActions()
protected int supportedSourceActionsFromSystem()
supportedSourceActionsFromSystem
in class SystemClipboard