Package org.neotropic.util.visual.icons
Class ClassNameIconGenerator
- java.lang.Object
-
- org.neotropic.util.visual.icons.IconGenerator<String>
-
- org.neotropic.util.visual.icons.ClassNameIconGenerator
-
public class ClassNameIconGenerator extends IconGenerator<String>
Implementation that provides the ability to generate small icons for kuwaiba objects- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>, Orlando Paz <orlando.paz@kuwaiba.org>
-
-
Field Summary
-
Fields inherited from class org.neotropic.util.visual.icons.IconGenerator
resourceFactory
-
-
Constructor Summary
Constructors Constructor Description ClassNameIconGenerator(AbstractResourceFactory resourceFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vaadin.flow.server.AbstractStreamResource
apply(String className)
Gets a stream resource for the item
-
-
-
Constructor Detail
-
ClassNameIconGenerator
public ClassNameIconGenerator(AbstractResourceFactory resourceFactory)
-
-
Method Detail
-
apply
public com.vaadin.flow.server.AbstractStreamResource apply(String className)
Description copied from class:IconGenerator
Gets a stream resource for the item- Specified by:
apply
in classIconGenerator<String>
- Parameters:
className
- the item for which the icon is generated- Returns:
- the generated stream resource
-
-