Class BasicTreeNodeIconGenerator


  • public class BasicTreeNodeIconGenerator
    extends IconGenerator<AbstractNode>
    Implementation that provides the ability to generate small icons for nodes in trees it generates small icon for objec
    Author:
    Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>, Orlando Paz <orlando.paz@kuwaiba.org>
    • Constructor Detail

    • Method Detail

      • apply

        public com.vaadin.flow.server.AbstractStreamResource apply​(AbstractNode item)
        Description copied from class: IconGenerator
        Gets a stream resource for the item
        Specified by:
        apply in class IconGenerator<AbstractNode>
        Parameters:
        item - the item for which the icon is generated
        Returns:
        the generated stream resource