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 | Field and Description |
---|---|
static int |
HIGHEST_PLATFORM_PRECEDENCE
Defines the highest precedence for
Ordered or
Order icon providers. |
static int |
LOWEST_PLATFORM_PRECEDENCE
Defines the lowest precedence for
Ordered or
Order icon providers. |
Modifier and Type | Method and Description |
---|---|
boolean |
canProvide(java.lang.String iconPath) |
com.vaadin.server.Resource |
getIconResource(java.lang.String iconPath) |
static final int HIGHEST_PLATFORM_PRECEDENCE
Ordered
or
Order
icon providers.static final int LOWEST_PLATFORM_PRECEDENCE
Ordered
or
Order
icon providers.com.vaadin.server.Resource getIconResource(java.lang.String iconPath)
Resource
by the given iconPath
.boolean canProvide(java.lang.String iconPath)
Resource
by the given iconPath
or false otherwise