FontAwesomeLayers (record)
EXPERIMENTAL FEATURE WARNINGThis class is still subject to changes without warning or notice!
Model for a single or multiple (layered) Font Awesome icon(s).
API
FontAwesomeLayers.java
record FontAwesomeLayers {
FontAwesomeLayers empty()
FontAwesomeLayers blank()
FontAwesomeLayers singleIcon(String faClasses)
FontAwesomeLayers iconStack(String containerCssClasses, String containerCssStyle, IconEntry baseEntry, IconEntry overlayEntry, IconEntry... additionalOverlayEntries)
FontAwesomeLayers fromJson(String json)
FontAwesomeLayers fromQuickNotation(String quickNotation) (1)
StackBuilder stackBuilder()
String normalizeCssClasses(String cssClasses, String... mandatory)
String toHtml()
String toJson()
String toQuickNotation() (2)
FontAwesomeLayers withPosition(CssClassFaPosition newPosition)
FontAwesomeLayers emptyToBlank()
}
1 | fromQuickNotation(String)
Example: |
2 | toQuickNotation()
If this instance was not created from a quick-notation, the result may loose style information. |