T - widget typepublic interface WidgetRenderer<T extends Widget>
| Modifier and Type | Method and Description |
|---|---|
HtmlBasedComponent |
createCaption(T widget)
Creates and returns the widget's caption component.
|
HtmlBasedComponent |
createContent(T widget)
Creates and returns the widget's (main) content component.
|
HtmlBasedComponent createCaption(T widget)
widget - the widget componentHtmlBasedComponent createContent(T widget)
InputWidget) need to be able to access specific content components (e.g. input
component) for updating purposes etc, which means that the renderer needs to pass those components to the widget
directly. Please see InputWidget#setInputComponent(org.zkoss.zul.impl.api.InputElement) for an example.widget - the widget componentCopyright © 2018 SAP SE. All Rights Reserved.