Class LegacyIconRepositoryAdapter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean contains​(java.lang.String iconKey)
      Verifies if a mapping for the provided icon Key is defined.
      java.lang.String getSVGIconId​(java.lang.String iconKey)
      Maps the provided iconKey to an SVG id element.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LegacyIconRepositoryAdapter

        public LegacyIconRepositoryAdapter​(GraphProvider delegate)
    • Method Detail

      • contains

        public boolean contains​(java.lang.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 java.lang.String getSVGIconId​(java.lang.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.