swingwt.awt.datatransfer
Class Clipboard

java.lang.Object
  extended byswingwt.awt.datatransfer.Clipboard

public class Clipboard
extends java.lang.Object

This class differs slightly from the AWT implementation. Mostly because type mapping is massively different between the AWT and SWT implementations, so this works, you can knock a couple of parameters off your calls, but it's woefully inadequate and can only handle text.


Constructor Summary
Clipboard()
           
 
Method Summary
 java.lang.Object getContents()
           
 Transferable getContents(java.lang.Object owner)
          NOT IMPLEMENTED - use getContents()
 java.lang.String getName()
           
 void setContents(java.lang.Object contents)
           
 void setContents(Transferable contents, ClipboardOwner owner)
          NOT IMPLEMENTED - use setContents(Object) for now
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Clipboard

public Clipboard()
Method Detail

getContents

public java.lang.Object getContents()

setContents

public void setContents(Transferable contents,
                        ClipboardOwner owner)
NOT IMPLEMENTED - use setContents(Object) for now


getContents

public Transferable getContents(java.lang.Object owner)
NOT IMPLEMENTED - use getContents()


getName

public java.lang.String getName()

setContents

public void setContents(java.lang.Object contents)