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, Node node)
static HippoIcon
getDocumentOrFolderIcon(String id, Node node, IconSize size)
static HippoIcon
getIconForNodeType(String id, 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, Node node) throws RepositoryException
- Throws:
RepositoryException
-
getDocumentOrFolderIcon
public static HippoIcon getDocumentOrFolderIcon(String id, Node node, IconSize size) throws RepositoryException
- Throws:
RepositoryException
-
-