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

    Modifier and Type
    Method
    Description
    org.apache.wicket.Component
    getNodeIcon(String id, TreeNode treeNode, org.apache.wicket.extensions.markup.html.tree.ITreeState state)
     
  • Method Details

    • 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.