Class IconRenderer
- java.lang.Object
-
- org.hippoecm.frontend.plugins.standards.list.resolvers.IconRenderer
-
- All Implemented Interfaces:
Serializable
,org.apache.wicket.util.io.IClusterable
,IListCellRenderer<Node>
- Direct Known Subclasses:
ImageIconRenderer
,MimeTypeIconRenderer
public class IconRenderer extends Object implements IListCellRenderer<Node>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IconRenderer()
IconRenderer(IconSize size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected HippoIcon
getIcon(String id, Node node)
IObservable
getObservable(org.apache.wicket.model.IModel<Node> model)
org.apache.wicket.Component
getRenderer(String id, org.apache.wicket.model.IModel<Node> model)
-
-
-
Constructor Detail
-
IconRenderer
public IconRenderer()
-
IconRenderer
public IconRenderer(IconSize size)
-
-
Method Detail
-
getRenderer
public org.apache.wicket.Component getRenderer(String id, org.apache.wicket.model.IModel<Node> model)
- Specified by:
getRenderer
in interfaceIListCellRenderer<Node>
-
getObservable
public IObservable getObservable(org.apache.wicket.model.IModel<Node> model)
- Specified by:
getObservable
in interfaceIListCellRenderer<Node>
-
getIcon
protected HippoIcon getIcon(String id, Node node) throws RepositoryException
- Throws:
RepositoryException
-
-