Package com.storedobject.vaadin
Interface HasBadgeStyle
- All Superinterfaces:
com.vaadin.flow.component.HasElement,HasThemeStyle,Serializable
- All Known Implementing Classes:
Badge,BadgeIcon,Breadcrumbs.Breadcrumb,ImageButton
Interface to mark that a class has theme styles of badge.
- Author:
- Syam
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidClear all theme styles.default voidremoveTheme(ThemeStyle... styles) Remove theme styles.default voidsetTheme(ThemeStyle... styles) Set theme styles.Methods inherited from interface com.vaadin.flow.component.HasElement
getElementMethods inherited from interface com.storedobject.vaadin.HasThemeStyle
addTheme, asPrimary, asSmall, getInternalElement
-
Method Details
-
setTheme
Set theme styles.ThemeStyle.BADGEwill be automatically added.- Specified by:
setThemein interfaceHasThemeStyle- Parameters:
styles- Style to set
-
clearThemes
default void clearThemes()Clear all theme styles.ThemeStyle.BADGEwill not be removed.- Specified by:
clearThemesin interfaceHasThemeStyle
-
removeTheme
Remove theme styles.ThemeStyle.BADGEwill not be removed.- Specified by:
removeThemein interfaceHasThemeStyle- Parameters:
styles- Style to remove
-