Package io.jmix.flowui.icon.impl
Class IconsImpl
java.lang.Object
io.jmix.flowui.icon.impl.IconsImpl
- All Implemented Interfaces:
Icons
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.vaadin.flow.component.ComponentcreateIconByName(String iconName) protected com.vaadin.flow.component.icon.IconcreateIconFromCollection(String iconName) com.vaadin.flow.component.Componentget(IconFactory<?> icon) Returns a UIComponentrepresenting an icon specified by the name of the passedIconFactory.com.vaadin.flow.component.ComponentReturns a UIComponentrepresenting an icon specified by its name.
-
Constructor Details
-
IconsImpl
public IconsImpl()
-
-
Method Details
-
get
Description copied from interface:IconsReturns a UIComponentrepresenting an icon specified by the name of the passedIconFactory.This method attempts to create a
Componentfor the given icon name. If the icon name contains ':' delimiter then a newIconis created using icon collection and icon name values. Otherwise, it will attempt to locate and create the icon using predefined icon sets.- Specified by:
getin interfaceIcons- Parameters:
icon- theIconFactoryinstance to get the icon name from- Returns:
- the
Componentrepresenting the icon
-
get
Description copied from interface:IconsReturns a UIComponentrepresenting an icon specified by its name.This method attempts to create a
Componentfor the given icon name. If the icon name contains ':' delimiter then a newIconis created using icon collection and icon name values. Otherwise, it will attempt to locate and create the icon using predefined icon sets. -
createIconFromCollection
-
createIconByName
-