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 pl.fhframework.Binding |
BINDING |
static String |
ICON |
| Modifier and Type | Method and Description |
|---|---|
String |
getIcon() |
pl.fhframework.model.forms.attribute.IconAlignment |
getIconAlignment() |
pl.fhframework.binding.ModelBinding<String> |
getIconBinding() |
default String |
resolveIconBinding(pl.fhframework.model.forms.FormElement formElement,
pl.fhframework.model.dto.ElementChanges elementChanges) |
static final String ICON
static final pl.fhframework.Binding BINDING
pl.fhframework.binding.ModelBinding<String> getIconBinding()
String getIcon()
pl.fhframework.model.forms.attribute.IconAlignment getIconAlignment()
default String resolveIconBinding(pl.fhframework.model.forms.FormElement formElement, pl.fhframework.model.dto.ElementChanges elementChanges)
Copyright © 2019. All rights reserved.