org.jhotdraw.gui.datatransfer
Class OSXClipboard

java.lang.Object
  extended by java.awt.datatransfer.Clipboard
      extended by org.jhotdraw.gui.datatransfer.AbstractClipboard
          extended by org.jhotdraw.gui.datatransfer.AWTClipboard
              extended by org.jhotdraw.gui.datatransfer.OSXClipboard

public class OSXClipboard
extends AWTClipboard

OSXClipboard.

Version:
1.0 2009-10-12 Created.
Author:
Werner Randelshofer

Field Summary
 
Fields inherited from class java.awt.datatransfer.Clipboard
contents, owner
 
Constructor Summary
OSXClipboard(java.awt.datatransfer.Clipboard target)
           
 
Method Summary
 java.awt.datatransfer.Transferable getContents(java.lang.Object requestor)
          Returns a Transferable object representing the current contents of the clipboard.
 
Methods inherited from class org.jhotdraw.gui.datatransfer.AWTClipboard
getTarget, setContents
 
Methods inherited from class java.awt.datatransfer.Clipboard
addFlavorListener, getAvailableDataFlavors, getData, getFlavorListeners, getName, isDataFlavorAvailable, removeFlavorListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSXClipboard

public OSXClipboard(java.awt.datatransfer.Clipboard target)
Method Detail

getContents

public java.awt.datatransfer.Transferable getContents(java.lang.Object requestor)
Description copied from class: AbstractClipboard
Returns a Transferable object representing the current contents of the clipboard. If the clipboard currently has no contents, it returns null.

Overrides:
getContents in class AWTClipboard
Returns:
The current Transferable object on the clipboard.