com.google.code.validationframework.swing.decoration.utils
Class IconUtils
java.lang.Object
com.google.code.validationframework.swing.decoration.utils.IconUtils
public final class IconUtils
- extends Object
Utility class for handling icons.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
loadImageIcon
public static ImageIcon loadImageIcon(String iconName,
Class<?> clazz)
- Loads an image icon from a resource file.
- Parameters:
iconName - Name of the resource file to be loaded.clazz - Class for which the resource exists.
- Returns:
- Image icon if it could be loaded, null otherwise.
Copyright © 2013. All Rights Reserved.