Class IconGenerator<T>

  • Type Parameters:
    T - item type for which the icon is generated
    Direct Known Subclasses:
    BasicTreeNodeIconGenerator, ClassNameIconGenerator

    public abstract class IconGenerator<T>
    extends Object
    Abstract class for generated icons for an item
    Author:
    Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
    • Constructor Detail

      • IconGenerator

        public IconGenerator()
    • Method Detail

      • apply

        public abstract String apply​(T item)
        Get item resource URL
        Parameters:
        item - the item for which the icon is generated
        Returns:
        The URL of item resource