Class ClassMetadataIconGenerator


  • public class ClassMetadataIconGenerator
    extends IconGenerator<ClassMetadataLight>
    Implementation that provides the ability to generate small icons for class metadata
    Author:
    Adrian Martinez Molina <adrian.martinez@kuwaiba.org>
    • Constructor Detail

    • Method Detail

      • apply

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