dsto.dfc.swing.dnd
Class ClipboardManager

java.lang.Object
  extended by dsto.dfc.swing.dnd.ClipboardManager

public final class ClipboardManager
extends Object

Provides centralised clipboard management.

Version:
$Revision$

Method Summary
static void addClipboardListener(ClipboardListener l)
           
protected static void fireClipboardChanged(ClipboardEvent e)
           
static Transferable getClipboardContents()
           
protected static void lostOwnership(Clipboard oldClipboard, Transferable contents)
           
static void removeClipboardListener(ClipboardListener l)
           
static void setClipboardContents(Transferable contents)
          Set the current clipboard's contents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setClipboardContents

public static void setClipboardContents(Transferable contents)
Set the current clipboard's contents. Any existing contents will be disposed.


getClipboardContents

public static Transferable getClipboardContents()

removeClipboardListener

public static void removeClipboardListener(ClipboardListener l)

addClipboardListener

public static void addClipboardListener(ClipboardListener l)

fireClipboardChanged

protected static void fireClipboardChanged(ClipboardEvent e)

lostOwnership

protected static void lostOwnership(Clipboard oldClipboard,
                                    Transferable contents)


Copyright © 2008 Commonwealth of Australia