public interface UiRenderer<T>
| Modifier and Type | Method and Description |
|---|---|
UiRenderer<T> |
renderInto(UserInterface<?> ui,
UiRenderingContext ctx,
String path,
T data)
Called when a renderer must render an object into a UserInterface.
|
UiRenderer<T> renderInto(UserInterface<?> ui, UiRenderingContext ctx, String path, T data)
UiRendererSelector.useRenderer(),
which can be used to filter incompatible UserInterfaces and UiRenderers.
UiRendererSelector used will be the one paired with the specified UiRenderer
inside of a UiRendererOptions annotation.ui - -> The UserInterface to render into.ctx - -> The UiRenderingContext containing the utilities needed to render the datapath - -> The path of the data to render; data can be retrieved from the data using the
BeanValueProvider found in the UiRenderingContext.getBeanValueProvider().data - -> The data to renderCopyright © December 07, 2012–2015 The Internet Party. All rights reserved.