Class ImageIconItemInfoUtils
java.lang.Object
org.gvsig.gui.beans.swing.jComboBoxWithImageIconItems.ImageIconItemInfoUtils
This class has an static method that is an utility to load an image icon
- Author:
- Pablo Piqueras Bartolomé (p_queras@hotmail.com)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImageIconcreateImageIcon(Class class_Reference, String path) Returns an ImageIcon, or null if the path from class reference was invalid.
-
Constructor Details
-
ImageIconItemInfoUtils
public ImageIconItemInfoUtils()
-
-
Method Details
-
createImageIcon
Returns an ImageIcon, or null if the path from class reference was invalid.- Parameters:
class_Reference- A reference to a class which path will be the base to find the resource of the 'path' parampath- Path to the image to load- Returns:
- javax.swing.ImageIcon
-