swingwtx.swing
Interface Icon

All Known Implementing Classes:
ImageIcon

public interface Icon

Now matches the Swing icon interface without the need for the extraneous getImage() method.


Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 void paintIcon(Component c, Graphics g, int x, int y)
           
 

Method Detail

getIconHeight

public int getIconHeight()

getIconWidth

public int getIconWidth()

paintIcon

public void paintIcon(Component c,
                      Graphics g,
                      int x,
                      int y)