Top Inners Fields Constructors Methods
com.sun.glass.ui.win

pack-priv Class WinSystemClipboard

extends SystemClipboard
Class Inheritance
Known Direct Subclasses
com.sun.glass.ui.win.WinDnDClipboard
Imports
com.sun.glass.ui.Application, .Pixels, .SystemClipboard, java.io.UnsupportedEncodingException, java.nio.ByteBuffer, java.util.HashMap, .HashSet, .Set

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Field Summary

Modifier and TypeField and Description
pack-priv static final String
private long
pack-priv static final String
pack-priv static final byte[]

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
protected final void
protected native void
protected native void
private byte[]
fosSerialize(String mime, long index)

protected final long
private static native void
protected native boolean
protected final String[]
protected native boolean
pop()

private native byte[]
popBytes(String mime, long index)

protected final Object
private native String[]
private native int
protected native void
push(Object[] keys, int supportedActions)

protected native void
protected final void
pushToSystem(HashMap<String, Object> cacheData, int supportedActions)

Implements abstract com.sun.glass.ui.SystemClipboard.pushToSystem.

protected int
public String
toString()

Overrides com.sun.glass.ui.SystemClipboard.toString.

Returns a string representation of the object.

Inherited from com.sun.glass.ui.SystemClipboard:
flushgetDatagetLocalDatagetMimeTypesgetSupportedSourceActionssetTargetAction

Field Detail

defaultCharsetback to summary
pack-priv static final String defaultCharset
ptrback to summary
private long ptr
RTFCharsetback to summary
pack-priv static final String RTFCharset
terminatorback to summary
pack-priv static final byte[] terminator

Constructor Detail

WinSystemClipboardback to summary
protected WinSystemClipboard(String name)

Method Detail

closeback to summary
protected final void close()

Overrides com.sun.glass.ui.Clipboard.close.

Annotations
@Override
createback to summary
protected native void create()
disposeback to summary
protected native void dispose()
fosSerializeback to summary
private byte[] fosSerialize(String mime, long index)
getPtrback to summary
protected final long getPtr()
initIDsback to summary
private static native void initIDs()
isOwnerback to summary
protected native boolean isOwner()

Implements abstract com.sun.glass.ui.SystemClipboard.isOwner.

Annotations
@Override
mimesFromSystemback to summary
protected final String[] mimesFromSystem()

Implements abstract com.sun.glass.ui.SystemClipboard.mimesFromSystem.

Annotations
@Override
popback to summary
protected native boolean pop()
popBytesback to summary
private native byte[] popBytes(String mime, long index)
popFromSystemback to summary
protected final Object popFromSystem(String mimeFull)

Implements abstract com.sun.glass.ui.SystemClipboard.popFromSystem.

Annotations
@Override
popMimesFromSystemback to summary
private native String[] popMimesFromSystem()
popSupportedSourceActionsback to summary
private native int popSupportedSourceActions()
pushback to summary
protected native void push(Object[] keys, int supportedActions)
pushTargetActionToSystemback to summary
protected native void pushTargetActionToSystem(int actionDone)

Implements abstract com.sun.glass.ui.SystemClipboard.pushTargetActionToSystem.

Annotations
@Override
pushToSystemback to summary
protected final void pushToSystem(HashMap<String, Object> cacheData, int supportedActions)

Implements abstract com.sun.glass.ui.SystemClipboard.pushToSystem.

Annotations
@Override
supportedSourceActionsFromSystemback to summary
protected int supportedSourceActionsFromSystem()

Implements abstract com.sun.glass.ui.SystemClipboard.supportedSourceActionsFromSystem.

Annotations
@Override
toStringback to summary
public String toString()

Overrides com.sun.glass.ui.SystemClipboard.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override
com.sun.glass.ui.win back to summary

private final Class WinSystemClipboard.MimeTypeParser

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
protected boolean
protected static final String
protected int
protected String

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
public int
public String
public boolean
public void
parse(String mimeFull)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bInMemoryFileback to summary
protected boolean bInMemoryFile
externalBodyMimeback to summary
protected static final String externalBodyMime
indexback to summary
protected int index
mimeback to summary
protected String mime

Constructor Detail

MimeTypeParserback to summary
public MimeTypeParser()
MimeTypeParserback to summary
public MimeTypeParser(String mimeFull)

Method Detail

getIndexback to summary
public int getIndex()
getMimeback to summary
public String getMime()
isInMemoryFileback to summary
public boolean isInMemoryFile()
parseback to summary
public void parse(String mimeFull)