Class DefaultTreeNodeIconProvider
java.lang.Object
org.hippoecm.frontend.plugins.standards.tree.icon.AbstractJcrTreeNodeIconProvider
org.hippoecm.frontend.plugins.standards.tree.icon.DefaultTreeNodeIconProvider
- All Implemented Interfaces:
Serializable
,org.apache.wicket.util.io.IClusterable
,ITreeNodeIconProvider
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetNodeIcon
(String id, TreeNode treeNode, org.apache.wicket.extensions.markup.html.tree.ITreeState state) Methods inherited from class org.hippoecm.frontend.plugins.standards.tree.icon.AbstractJcrTreeNodeIconProvider
isVirtual
-
Constructor Details
-
DefaultTreeNodeIconProvider
public DefaultTreeNodeIconProvider()
-
-
Method Details
-
getNodeIcon
public HippoIcon getNodeIcon(String id, TreeNode treeNode, org.apache.wicket.extensions.markup.html.tree.ITreeState state) - Returns:
- a component that represents a tree node. Implementations should return null when no representation can be found. Clients should have a fall-back mechanism, e.g. by traversing a list of services until a component is found.
-