Class IconRenderUtil


  • public class IconRenderUtil
    extends Object
    Utility class for rendering icons.
    • Field Detail

      • DEFAULT_SIZE

        public static final IconSize DEFAULT_SIZE
    • Method Detail

      • getDocumentOrFolderIcon

        public static HippoIcon getDocumentOrFolderIcon​(String id,
                                                        javax.jcr.Node node)
                                                 throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • getDocumentOrFolderIcon

        public static HippoIcon getDocumentOrFolderIcon​(String id,
                                                        javax.jcr.Node node,
                                                        IconSize size)
                                                 throws javax.jcr.RepositoryException
        Throws:
        javax.jcr.RepositoryException
      • getIconForNodeType

        public static HippoIcon getIconForNodeType​(String id,
                                                   javax.jcr.nodetype.NodeType type,
                                                   Icon defaultIcon,
                                                   IconSize size)