1 /* 2 SwingWT 3 Copyright(c)2003-2004, R. Rawson-Tetley 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: bobintetley@users.sourceforge.net 9 10 $Log: Icon.java,v $ 11 Revision 1.6 2004/03/30 10:42:46 bobintetley 12 Many minor bug fixes, event improvements by Dan Naab. Full swing.Icon support 13 14 15 */ 16 package swingwtx.swing; 17 18 import swingwt.awt.*; 19 20 /** 21 * Now matches the Swing icon interface without 22 * the need for the extraneous getImage() method. 23 * 24 * @author Bob Tetley 25 */ 26 public interface Icon { 27 public int getIconHeight(); 28 public int getIconWidth(); 29 public void paintIcon(Component c, Graphics g, int x, int y); 30 } 31