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 object- 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)
-
-
-
Constructor Detail
-
BasicTreeNodeIconGenerator
public BasicTreeNodeIconGenerator(AbstractResourceFactory resourceFactory)
-
-
Method Detail
-
apply
public String apply(AbstractNode item)
Description copied from class:IconGenerator
Get item resource URL- Specified by:
apply
in classIconGenerator<AbstractNode>
- Parameters:
item
- the item for which the icon is generated- Returns:
- The URL of item resource
-
-