C - Parent configuratorpublic static interface HasIconConfigurator.IconConfigurator<C extends HasIconConfigurator<C>> extends HasStyleConfigurator<HasIconConfigurator.IconConfigurator<C>>
| Modifier and Type | Method and Description |
|---|---|
C |
add()
Add the configured icon to the component.
|
HasIconConfigurator.IconConfigurator<C> |
color(String color)
Sets the fill color of the icon.
|
HasIconConfigurator.IconConfigurator<C> |
size(String size)
Sets the width and the height of the icon.
|
styleName, styleNamesHasIconConfigurator.IconConfigurator<C> size(String size)
The size should be in a format understood by the browser, e.g. "100px" or "2.5em".
size - the size to set, may be null to clear the valueHasIconConfigurator.IconConfigurator<C> color(String color)
The color should be in a format understood by the browser, e.g. "orange", "#FF9E2C" or "rgb(255, 158, 44)".
color - the fill color to set, may be null to clear the valueC add()
Copyright © 2019 The Holon Platform. All rights reserved.