org.valkyriercp.image.IconSource Maven / Gradle / Ivy
package org.valkyriercp.image;
import javax.swing.*;
/**
* A loader and cache for Swing ImageIcons
.
*
* @author Keith Donald
* @see javax.swing.ImageIcon
*/
public interface IconSource {
/**
* Return an ImageIcon
using its String
key.
*
* @param key
* a key for the icon.
* @return The image icon.
* @throws NoSuchImageResourceException,
* if no resource is found and no broken image indicator is set.
*/
public Icon getIcon(String key);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy