Class IconRenderUtil
- java.lang.Object
-
- org.hippoecm.frontend.plugins.standards.list.resolvers.IconRenderUtil
-
public class IconRenderUtil extends Object
Utility class for rendering icons.
-
-
Field Summary
Fields Modifier and Type Field Description static IconSize
DEFAULT_SIZE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HippoIcon
getDocumentOrFolderIcon(String id, javax.jcr.Node node)
static HippoIcon
getDocumentOrFolderIcon(String id, javax.jcr.Node node, IconSize size)
static HippoIcon
getIconForNodeType(String id, javax.jcr.nodetype.NodeType type, Icon defaultIcon, IconSize size)
-
-
-
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
-
-