public interface IconSet
IconSetRegistry and that represents a collection of icons.
You can get a registered IconSet using iconSet(String).
An icon should be a a HtmlViewElement.MutableIconSet,
SimpleIconSet,
IconSetRegistry| Modifier and Type | Method and Description |
|---|---|
Map<String,com.foreach.across.modules.web.ui.elements.HtmlViewElement> |
getAllRegisteredIcons()
Gets a map of all registered icons on the
IconSet. |
com.foreach.across.modules.web.ui.elements.HtmlViewElement |
icon(@NonNull String name)
Returns an icon with from the current
SimpleIconSet. |
static IconSet |
iconSet(@NonNull String name)
Shorthand method to get an
IconSet from the IconSetRegistry |
com.foreach.across.modules.web.ui.elements.HtmlViewElement icon(@NonNull
@NonNull String name)
SimpleIconSet. If no iconResolver function was registered for the requested icon, a fallback to the
defaultIconResolver is used.name - of the icon in the SimpleIconSetAbstractNodeViewElementMap<String,com.foreach.across.modules.web.ui.elements.HtmlViewElement> getAllRegisteredIcons()
IconSet.Map<String, AbstractNodeViewElement> that holds all icons by namestatic IconSet iconSet(@NonNull @NonNull String name)
IconSet from the IconSetRegistryname - of the iconSetIconSetCopyright © 2020. All rights reserved.