public interface MutableIconSet extends IconSet
MutableIconSet is to modify the icons of an IconSet that is registered in the IconSetRegistry
You can add, remove and delete icons from the IconSet.
If you just want to get an icon for rendering, you should use the IconSet
SimpleIconSet| Modifier and Type | Method and Description |
|---|---|
void |
add(@NonNull String name,
Function<String,com.foreach.across.modules.web.ui.elements.HtmlViewElement> iconResolver)
Adds an icon to the
MutableIconSet. |
void |
remove(@NonNull String name)
Removes an icon from the
MutableIconSet. |
void |
removeAll()
Remove all icons from the
MutableIconSet. |
getAllRegisteredIcons, icon, iconSetvoid add(@NonNull
@NonNull String name,
Function<String,com.foreach.across.modules.web.ui.elements.HtmlViewElement> iconResolver)
MutableIconSet.name - of the icon to add to the current MutableIconSet.iconResolver - that will be used to resolve a AbstractNodeViewElement iconvoid remove(@NonNull
@NonNull String name)
MutableIconSet.name - of the icon to be removedvoid removeAll()
MutableIconSet.Copyright © 2020. All rights reserved.