JHotDraw 7.5.1

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:
$Id: OSXClipboard.java 666 2010-07-28 19:11:46Z rawcoder $
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.

Copyright 1996-2010 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.