Interface WidgetCaptionRenderer

  • All Known Implementing Classes:
    AdvancedSearchController

    public interface WidgetCaptionRenderer
    This interface should be implemented by Controllers of widgets that want to use Caption area of a container they are nested in. In case when the widget managed by the controller is not located in a collapsible container or the container does not support custom captions this interface may be ignored i.e. the implementation must not rely on any of the interface's methods being called.
    See Also:
    DefaultWidgetCaptionWrapper, WidgetSlotUtils, WidgetVisibilityStateAware
    • Method Detail

      • renderCaption

        org.zkoss.zk.ui.Component renderCaption​(WidgetCaptionWrapper captionWrapper)
        Parameters:
        captionWrapper - The captionWrapper should be used to communicate with the parent container
        Returns:
        The content of the caption to be displayed.