public interface Iconable
@Getter
@Setter
@XMLProperty
@DocumentedComponentAttribute("Icon id. Please refer to http://fontawesome.io/icons/ for all
available icons.")
private String icon;
@Getter
@Setter
@XMLProperty
@DocumentedComponentAttribute("Icon alignment - possible values are before or after. Final
alignment depends of component where this attribute is used.")
private String iconAlignment;
Example of use: <OutputLabel value="This is example" icon="fa fa-image"
iconAlignment="after"/>| Modifier and Type | Field and Description |
|---|---|
static Binding |
BINDING |
static String |
ICON |
| Modifier and Type | Method and Description |
|---|---|
String |
getIcon() |
IconAlignment |
getIconAlignment() |
ModelBinding<String> |
getIconBinding() |
default String |
resolveIconBinding(FormElement formElement,
ElementChanges elementChanges) |
static final String ICON
static final Binding BINDING
ModelBinding<String> getIconBinding()
String getIcon()
IconAlignment getIconAlignment()
default String resolveIconBinding(FormElement formElement, ElementChanges elementChanges)
Copyright © 2020. All rights reserved.