public class IconRegistry extends Object
Constructor and Description |
---|
IconRegistry() |
public void register(String iconId, Iconic iconic)
iconId
- The iconId.iconic
- The Iconic that can provide
the lookup.protected void writeIcon(ImageIcon icon, OutputStream out)
icon
- The icon.out
- The output stream. This method will close the output
stream.public byte[] retrieve(String iconId)
iconId
- The iconId.