KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > swingwt > awt > datatransfer > DataFlavor


1 /*
2    SwingWT
3    Copyright(c)2003-2004, Tomer Barletz
4
5    For more information on distributing and using this program, please
6    see the accompanying "COPYING" file.
7
8    Contact me by electronic mail: tomerb@users.sourceforge.net
9 */

10
11 package swingwt.awt.datatransfer;
12
13 public class DataFlavor {
14   
15   private String JavaDoc humanPresentableName;
16   public static DataFlavor stringFlavor = new DataFlavor("application-x-serialized-java-object");
17
18   /** NOT IMPLEMENTED */
19   public DataFlavor(String JavaDoc mimetype) {
20   }
21   
22   public String JavaDoc getHumanPresentableName() { return humanPresentableName; }
23
24   public void setHumanPresentableName(String JavaDoc humanPresentableName) {
25     this.humanPresentableName = humanPresentableName;
26   }
27
28   
29
30 }
31
Popular Tags