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