com.im.df.util
Interface IconProvider
public interface IconProvider
This interface is used for resolving icons of generic objects in DIF.
IconProvider implementations can register as NetBeans service in META-INF.services
and so then will be used by DFUtils.findIcon(Object).
findIcon
Image findIcon(Object bean,
int iconKind)
- Parameters:
iconKind - The kind of icon requested. This should be
one of the constant values ICON_COLOR_16x16, ICON_COLOR_32x32,
ICON_MONO_16x16, or ICON_MONO_32x32 (see BeanInfo)
- Returns:
- An image object representing the requested icon. May
return null if no suitable icon is available.