@Component @Order(value=980) public class ThemeIconProvider extends java.lang.Object implements IconProvider
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
THEME_PREFIX |
HIGHEST_PLATFORM_PRECEDENCE, LOWEST_PLATFORM_PRECEDENCE
Constructor and Description |
---|
ThemeIconProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
canProvide(java.lang.String iconPath) |
com.vaadin.server.Resource |
getIconResource(java.lang.String iconPath) |
protected static final java.lang.String THEME_PREFIX
public com.vaadin.server.Resource getIconResource(java.lang.String iconPath)
getIconResource
in interface IconProvider
Resource
by the given iconPath
.public boolean canProvide(java.lang.String iconPath)
canProvide
in interface IconProvider
Resource
by the given iconPath
or false otherwise