public class DefaultIconProvider extends Object implements IconProvider
IconProvider.
This provider loads the icons for the "plaf"-realm of all supported plafs.| Constructor and Description |
|---|
DefaultIconProvider()
Creates a new DefaultIconProvider
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRealm()
Gets the namespace for this icon provider.
|
ImageIcon |
loadImageIcon(LookAndFeel plaf,
String name)
Loads the icon.
|
public DefaultIconProvider()
public String getRealm()
getRealm in interface IconProviderpublic ImageIcon loadImageIcon(LookAndFeel plaf, String name) throws MissingResourceException
loadImageIcon in interface IconProviderplaf - the plafname - the name if the iconMissingResourceException - if no such iconTentackle - distributed, domain- and model-driven