C - Concrete configurator typepublic interface HasIconConfigurator<C extends HasIconConfigurator<C>>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
HasIconConfigurator.IconConfigurator<C extends HasIconConfigurator<C>>
Configurator to setup a component icon.
|
| Modifier and Type | Method and Description |
|---|---|
C |
icon(com.vaadin.flow.component.Component icon)
Set the component icon.
|
default C |
icon(String collection,
String icon)
Set the component icon using a
IronIcon. |
default C |
icon(com.vaadin.flow.component.icon.VaadinIcon icon)
Set the component icon using a
VaadinIcon. |
HasIconConfigurator.IconConfigurator<C> |
iconConfigurator(com.vaadin.flow.component.icon.Icon icon)
Obtain an
HasIconConfigurator.IconConfigurator for given icon to configure it and add it to che component using
HasIconConfigurator.IconConfigurator.add(). |
HasIconConfigurator.IconConfigurator<C> |
iconConfigurator(com.vaadin.flow.component.icon.IronIcon icon)
Obtain an
HasIconConfigurator.IconConfigurator for given icon to configure it and add it to che component using
HasIconConfigurator.IconConfigurator.add(). |
default HasIconConfigurator.IconConfigurator<C> |
iconConfigurator(String collection,
String icon)
Obtain an
HasIconConfigurator.IconConfigurator for given IronIcon representation to configure the icon and add it to
che component using HasIconConfigurator.IconConfigurator.add(). |
default HasIconConfigurator.IconConfigurator<C> |
iconConfigurator(com.vaadin.flow.component.icon.VaadinIcon icon)
Obtain an
HasIconConfigurator.IconConfigurator for given VaadinIcon representation to configure the icon and add it
to che component using HasIconConfigurator.IconConfigurator.add(). |
C icon(com.vaadin.flow.component.Component icon)
null, the icon is removed.icon - The icon Component to set (may be null)default C icon(com.vaadin.flow.component.icon.VaadinIcon icon)
VaadinIcon. If null, the icon is removed.icon - The icon to set (may be null)default C icon(String collection, String icon)
IronIcon. If icon name is null, the icon is
removed.collection - the icon collectionicon - the icon nameHasIconConfigurator.IconConfigurator<C> iconConfigurator(com.vaadin.flow.component.icon.Icon icon)
HasIconConfigurator.IconConfigurator for given icon to configure it and add it to che component using
HasIconConfigurator.IconConfigurator.add().icon - The icon to configure and add to the component (not null)default HasIconConfigurator.IconConfigurator<C> iconConfigurator(com.vaadin.flow.component.icon.VaadinIcon icon)
HasIconConfigurator.IconConfigurator for given VaadinIcon representation to configure the icon and add it
to che component using HasIconConfigurator.IconConfigurator.add().icon - The icon to configure and add to the component (not null)HasIconConfigurator.IconConfigurator<C> iconConfigurator(com.vaadin.flow.component.icon.IronIcon icon)
HasIconConfigurator.IconConfigurator for given icon to configure it and add it to che component using
HasIconConfigurator.IconConfigurator.add().icon - The icon to configure and add to the component (not null)default HasIconConfigurator.IconConfigurator<C> iconConfigurator(String collection, String icon)
HasIconConfigurator.IconConfigurator for given IronIcon representation to configure the icon and add it to
che component using HasIconConfigurator.IconConfigurator.add().collection - the icon collectionicon - the icon name (not null)Copyright © 2020 The Holon Platform. All rights reserved.