public interface ITitleDecorator extends IconProvider
Implementations should register it at the other service's id. IServiceReference.getServiceId()
Consumers can find it then at the same location.
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
log |
Modifier and Type | Method and Description |
---|---|
org.apache.wicket.request.resource.ResourceReference |
getIcon(IconSize type)
Retrieve an icon to represent the decorated object.
|
org.apache.wicket.model.IModel<String> |
getTitle() |
getIcon
org.apache.wicket.model.IModel<String> getTitle()
org.apache.wicket.request.resource.ResourceReference getIcon(IconSize type)
Consumers should use a default icon when none is returned. They should handle resizing icons when these are not of the specified size.
type
- Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.