Interface IconSet
- All Known Subinterfaces:
 MutableIconSet
- All Known Implementing Classes:
 SimpleIconSet
public interface IconSet
An immutable IconSet that is registered in the 
IconSetRegistry and that represents a collection of icons.
 You can get a registered IconSet using iconSet(String).
 An icon should be a a HtmlViewElement.- Since:
 - 3.0.0
 - Author:
 - Stijn Vanhoof
 - See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptionGets a map of all registered icons on theIconSet.com.foreach.across.modules.web.ui.elements.HtmlViewElementReturns an icon with from the currentSimpleIconSet.static IconSetShorthand method to get anIconSetfrom theIconSetRegistry 
- 
Method Details
- 
icon
Returns an icon with from the currentSimpleIconSet. If no iconResolver function was registered for the requested icon, a fallback to the defaultIconResolver is used.- Parameters:
 name- of the icon in theSimpleIconSet- Returns:
 - The icon as a 
AbstractNodeViewElement 
 - 
getAllRegisteredIcons
Gets a map of all registered icons on theIconSet.- Returns:
 - a 
Map<String, AbstractNodeViewElement>that holds all icons by name 
 - 
iconSet
Shorthand method to get anIconSetfrom theIconSetRegistry- Parameters:
 name- of the iconSet- Returns:
 - an 
IconSet 
 
 -