Interface IconRepository
-
- All Known Subinterfaces:
ConfigurableIconRepository
- All Known Implementing Classes:
DefaultIconRepository,GraphMLIconRepository,LegacyIconRepositoryAdapter
public interface IconRepositoryEachIconRepositorystores a mapping from icon keys to icon ids. The icon key is Graph Provider specific and is defined by it (e.g. "sfree:group") The icon id should match with an id element in all existing SVGs (not only thisIconRepository.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancontains(String iconKey)Verifies if a mapping for the provided icon Key is defined.StringgetSVGIconId(String iconKey)Maps the providediconKeyto an SVG id element.
-
-
-
Method Detail
-
contains
boolean contains(String iconKey)
Verifies if a mapping for the provided icon Key is defined.- Parameters:
iconKey- the icon key- Returns:
- true if a mapping is defined, false otherwise.
-
-