Class ViewNodeIconGenerator
- java.lang.Object
-
- org.neotropic.util.visual.icons.IconGenerator<BusinessObjectViewNode>
-
- org.neotropic.kuwaiba.visualization.api.ViewNodeIconGenerator
-
public class ViewNodeIconGenerator extends IconGenerator<BusinessObjectViewNode>
Generates icons to the business object view nodes- Author:
- Johny Andres Ortega Ruiz <johny.ortega@kuwaiba.org>
-
-
Field Summary
-
Fields inherited from class org.neotropic.util.visual.icons.IconGenerator
resourceFactory
-
-
Constructor Summary
Constructors Constructor Description ViewNodeIconGenerator(AbstractResourceFactory resourceFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.vaadin.flow.server.AbstractStreamResource
apply(BusinessObjectViewNode item)
Gets a stream resource for the item
-
-
-
Constructor Detail
-
ViewNodeIconGenerator
public ViewNodeIconGenerator(AbstractResourceFactory resourceFactory)
-
-
Method Detail
-
apply
public com.vaadin.flow.server.AbstractStreamResource apply(BusinessObjectViewNode item)
Description copied from class:IconGenerator
Gets a stream resource for the item- Specified by:
apply
in classIconGenerator<BusinessObjectViewNode>
- Parameters:
item
- the item for which the icon is generated- Returns:
- the generated stream resource
-
-