|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--java.awt.datatransfer.Clipboard
A class which implements a mechanism to transfer data using cut/copy/paste operations.
Toolkit.getSystemClipboard()| Field Summary | |
protected Transferable |
contents
|
protected ClipboardOwner |
owner
|
| Constructor Summary | |
Clipboard(String name)
Creates a clipboard object. |
|
| Method Summary | |
Transferable |
getContents(Object requestor)
Returns a transferable object representing the current contents of the clipboard. |
String |
getName()
Returns the name of this clipboard object. |
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.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected ClipboardOwner owner
protected Transferable contents
| Constructor Detail |
public Clipboard(String name)
Toolkit.getSystemClipboard()| Method Detail |
public String getName()
Toolkit.getSystemClipboard()
public void setContents(Transferable contents,
ClipboardOwner owner)
owner - the object which owns the clipboard contentToolkit.getSystemClipboard()public Transferable getContents(Object requestor)
null. The parameter Object requestor is
not currently used.
requestor - the object requesting the clip data (not used)
Toolkit.getSystemClipboard()
|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.