Interface IconRepository
-
- All Known Subinterfaces:
ConfigurableIconRepository
- All Known Implementing Classes:
DefaultIconRepository
,GraphMLIconRepository
,LegacyIconRepositoryAdapter
public interface IconRepository
EachIconRepository
stores 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 boolean
contains(String iconKey)
Verifies if a mapping for the provided icon Key is defined.String
getSVGIconId(String iconKey)
Maps the providediconKey
to 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.
-
-