org.springframework.richclient.image
Interface IconSource

All Known Subinterfaces:
SizedIconSource
All Known Implementing Classes:
DefaultIconSource, ReloadableSizedIconSource

public interface IconSource

A loader and cache for Swing ImageIcons.

Author:
Keith Donald
See Also:
ImageIcon

Method Summary
 Icon getIcon(String key)
          Return an ImageIcon using its String key.
 

Method Detail

getIcon

Icon getIcon(String key)
Return an ImageIcon using its String key.

Parameters:
key - a key for the icon.
Returns:
The image icon.
Throws:
NoSuchImageResourceException, - if no resource is found and no broken image indicator is set.


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.