public interface IIconProvider
IStructuredResult.
See Icon
ImageHelper for well-known icons. To add custom icons, place the GIF
file in your class path and return the resource URL:
Example
private static final URL SCA = SCAQuery.class.getResource("/META-INF/icons/sca.gif");
public URL getIcon(Object row)
{
if (row instanceof SCA)
return SCA;
return null;
}
| Modifier and Type | Field and Description |
|---|---|
static IIconProvider |
EMPTY |
| Modifier and Type | Method and Description |
|---|---|
URL |
getIcon(Object row) |
static final IIconProvider EMPTY