Back to index

moin  1.9.0~rc2
Clipboard.java
Go to the documentation of this file.
00001 /*
00002  * @(#)Clipboard.java 5.1
00003  *
00004  */
00005 
00006 package CH.ifa.draw.util;
00007 
00008 import java.awt.*;
00009 import java.util.*;
00010 
00017 public class Clipboard {
00018     static Clipboard fgClipboard = new Clipboard();
00019 
00023     static public Clipboard getClipboard() {
00024         return fgClipboard;
00025     }
00026 
00027     private Object fContents;
00028 
00029     private Clipboard() {
00030     }
00031 
00035     public void setContents(Object contents) {
00036         fContents = contents;
00037     }
00038 
00042     public Object getContents() {
00043         return fContents;
00044     }
00045 }