gov.nist.antd.java.swing
Class ImageLoader

java.lang.Object
  |
  +--gov.nist.antd.java.swing.ImageLoader

public final class ImageLoader
extends java.lang.Object

Author:
borchert

Constructor Summary
ImageLoader()
           
 
Method Summary
static javax.swing.ImageIcon loadImageIcon(java.lang.String iconName, java.lang.Object sender)
          Loads an image if sender is not null .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageLoader

public ImageLoader()
Method Detail

loadImageIcon

public static javax.swing.ImageIcon loadImageIcon(java.lang.String iconName,
                                                  java.lang.Object sender)
Loads an image if sender is not null .

Parameters:
iconName - the name of the image.
sender - the ressource source of the image.
Returns:
if an imageIcon exist, the loaded imageIcon, otherwise null.