public interface IconProvider
Resource
by some icon path.
The IconResolver
bean obtains all beans that implements IconProvider
interface and iterates over them
to find the one that can provide Resource
for icon. So you should use this interface to mark new icon provider
to use your custom icon set.
Modifier and Type | Method and Description |
---|---|
boolean |
canProvide(java.lang.String iconPath) |
com.vaadin.server.Resource |
getIconResource(java.lang.String iconPath) |
com.vaadin.server.Resource getIconResource(java.lang.String iconPath)
Resource
by the given iconPath
.boolean canProvide(@Nullable java.lang.String iconPath)
Resource
by the given iconPath
or false otherwise