Class GraphMLIconRepository

    • Constructor Detail

      • GraphMLIconRepository

        public GraphMLIconRepository​(Set<String> knownIconKeys)
    • Method Detail

      • contains

        public boolean contains​(String iconKey)
        Description copied from interface: IconRepository
        Verifies if a mapping for the provided icon Key is defined.
        Specified by:
        contains in interface IconRepository
        Parameters:
        iconKey - the icon key
        Returns:
        true if a mapping is defined, false otherwise.
      • getSVGIconId

        public String getSVGIconId​(String iconKey)
        Description copied from interface: IconRepository
        Maps the provided iconKey to an SVG id element. If no mapping is defined, null is returned.
        Specified by:
        getSVGIconId in interface IconRepository
        Parameters:
        iconKey - The icon key to look up
        Returns:
        The icon id, or null if no mapping is defined.