com.jiexplorer.gui
Class JIIcon

java.lang.Object
  extended by com.jiexplorer.gui.JIIcon
All Implemented Interfaces:
javax.swing.Icon

public final class JIIcon
extends java.lang.Object
implements javax.swing.Icon


Constructor Summary
JIIcon(java.awt.image.BufferedImage image)
          Creates a new instance of ThumbnailIcon
 
Method Summary
 int getIconHeight()
           
 int getIconWidth()
           
 java.awt.image.BufferedImage getImage()
           
 void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JIIcon

public JIIcon(java.awt.image.BufferedImage image)
Creates a new instance of ThumbnailIcon

Method Detail

paintIcon

public final void paintIcon(java.awt.Component c,
                            java.awt.Graphics g,
                            int x,
                            int y)
Specified by:
paintIcon in interface javax.swing.Icon

getIconWidth

public final int getIconWidth()
Specified by:
getIconWidth in interface javax.swing.Icon

getIconHeight

public final int getIconHeight()
Specified by:
getIconHeight in interface javax.swing.Icon

getImage

public final java.awt.image.BufferedImage getImage()