Interface ITitleDecorator

All Superinterfaces:
org.apache.wicket.util.io.IClusterable, IconProvider, Serializable
All Known Implementing Classes:
PanelPluginPerspective, Perspective

public interface ITitleDecorator extends IconProvider
Title decorator. This service can be added to another service to provide (optional) presentational information to consumers.

Implementations should register it at the other service's id. IServiceReference.getServiceId() Consumers can find it then at the same location.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.slf4j.Logger
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.wicket.request.resource.ResourceReference
    Retrieve an icon to represent the decorated object.
    org.apache.wicket.model.IModel<String>
     

    Methods inherited from interface org.hippoecm.frontend.skin.IconProvider

    getIcon
  • Field Details

    • log

      static final org.slf4j.Logger log
  • Method Details

    • getTitle

      org.apache.wicket.model.IModel<String> getTitle()
    • getIcon

      org.apache.wicket.request.resource.ResourceReference getIcon(IconSize type)
      Retrieve an icon to represent the decorated object. Implementations should return null when no icon is available. When no icon is available of the specified size, a larger sized icon can be returned.

      Consumers should use a default icon when none is returned. They should handle resizing icons when these are not of the specified size.

      Parameters:
      type -