Interface ITreeNodeIconProvider
-
- All Superinterfaces:
org.apache.wicket.util.io.IClusterable
,Serializable
- All Known Implementing Classes:
AbstractJcrTreeNodeIconProvider
,DefaultTreeNodeIconProvider
public interface ITreeNodeIconProvider extends org.apache.wicket.util.io.IClusterable
Service that provides icons for nodes in the CMS folder tree.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.wicket.Component
getNodeIcon(String id, TreeNode treeNode, org.apache.wicket.extensions.markup.html.tree.ITreeState state)
-
-
-
Method Detail
-
getNodeIcon
org.apache.wicket.Component 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.
-
-