Package org.neotropic.util.visual.icons
Class ClassMetadataIconGenerator
- java.lang.Object
-
- org.neotropic.util.visual.icons.IconGenerator<ClassMetadataLight>
-
- org.neotropic.util.visual.icons.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>
-
-
Field Summary
-
Fields inherited from class org.neotropic.util.visual.icons.IconGenerator
resourceFactory
-
-
Constructor Summary
Constructors Constructor Description ClassMetadataIconGenerator(AbstractResourceFactory resourceFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vaadin.flow.server.AbstractStreamResource
apply(ClassMetadataLight cls)
Gets a stream resource for the item
-
-
-
Constructor Detail
-
ClassMetadataIconGenerator
public ClassMetadataIconGenerator(AbstractResourceFactory resourceFactory)
-
-
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 classIconGenerator<ClassMetadataLight>
- Parameters:
cls
- the item for which the icon is generated- Returns:
- the generated stream resource
-
-