public interface ConfigurableIconRepository extends IconRepository
IconRepository which can be updated.| Modifier and Type | Method and Description |
|---|---|
void |
addIconMapping(String iconKey,
String iconId)
Adds a custom icon mapping.
|
void |
removeIconMapping(String iconKey)
Removes the given
iconKey from this IconRepository. |
void |
save()
Persists this
IconRepository. |
contains, getSVGIconIdvoid addIconMapping(String iconKey, String iconId)
iconKey must be unique in this IconRepository.iconKey - The icon keyiconId - The icon id for the icon keyvoid removeIconMapping(String iconKey)
iconKey from this IconRepository.iconKey - The icon key to removevoid save()
IconRepository.
Should be invoked if changes to this IconRepository should be persisted permanently (e.g. on disk)Copyright © 2020. All rights reserved.