|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.datatransfer.Clipboard
wt.clients.util.WTClipboard
This class holds the clipboard that is currently being used by Windchill
clients to hold Windchill objects. If access to the system clipboard is granted
by the user, a text representation of the Windchill object will placed in the
system clipboard. Untrusted Applets are not allowed access to the system
clipboard unless the user grants permission.
This class also holds the dataflavor that is unique to Windchill.
Supported API: true
Extendable: false
Field Summary | |
private static String |
OBJECT_ARRAY_PRESENTABLE_NAME
|
private static Clipboard |
systemClipboard__
|
private boolean |
systemClipboardOwner__
|
private static boolean |
verbose
|
private static String |
WINDCHILL_CLIPBOARD_NAME
|
private static Clipboard |
windchillClipboard__
|
static DataFlavor |
WT_OBJECT_ARRAY_FLAVOR
The DataFlavor representing an array of WTObject class objects, where: |
Fields inherited from class java.awt.datatransfer.Clipboard |
contents, owner |
Constructor Summary | |
private |
WTClipboard(String name)
The constructor is private since this class should never be instantiated outside of this class. |
Method Summary | |
static Clipboard |
getClipboard()
Get the Windchill clipboard. |
Transferable |
getContents(Object requestor)
Get the data from the clipboard. |
void |
setContents(Transferable contents,
ClipboardOwner owner)
Sets the current contents of the clipboard to the specified transferable object and registers the specified clipboard owner as the owner of the new contents. |
Methods inherited from class java.awt.datatransfer.Clipboard |
getName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String WINDCHILL_CLIPBOARD_NAME
private static Clipboard systemClipboard__
private static Clipboard windchillClipboard__
private boolean systemClipboardOwner__
private static boolean verbose
private static String OBJECT_ARRAY_PRESENTABLE_NAME
public static DataFlavor WT_OBJECT_ARRAY_FLAVOR
representationClass = wt.fc.WTObject
mimeType = "application/x-java-serialized-object"
Constructor Detail |
private WTClipboard(String name)
name
- A name that describes the clipboard.Method Detail |
public static Clipboard getClipboard()
public void setContents(Transferable contents, ClipboardOwner owner)
owner
- the object which owns the clipboard data.public Transferable getContents(Object requestor)
requestor
- the object requesting the clipboard data.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |