JHotDraw 6.0b1

org.jhotdraw.util
Class Clipboard

java.lang.Object
  extended by org.jhotdraw.util.Clipboard

public class Clipboard
extends java.lang.Object

A temporary replacement for a global clipboard. It is a singleton that can be used to store and get the contents of the clipboard.


Method Summary
static Clipboard getClipboard()
          Gets the clipboard.
 java.lang.Object getContents()
          Gets the contents of the clipboard.
 void setContents(java.lang.Object contents)
          Sets the contents of the clipboard.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getClipboard

public static Clipboard getClipboard()
Gets the clipboard.


setContents

public void setContents(java.lang.Object contents)
Sets the contents of the clipboard.


getContents

public java.lang.Object getContents()
Gets the contents of the clipboard.


JHotDraw 6.0b1