Interface Renderer<T>
- Type Parameters:
T- the type this renderer knows how to present
- All Superinterfaces:
ClientConnector,Serializable
- All Known Implementing Classes:
ClickableRenderer,DateRenderer,FComponentRenderer,FGrid.AbstractRenderer,HtmlRenderer,ImageRenderer,TextRenderer
Interface representing Vaadin 7 Renderer which used to be a ClientConnector
for controlling client-side Grid renderers. In feature-pack it provides
getPresentationType method and everything from
ClientConnector
interface but notice that actual rendering logic happens via Flow
Renderer. There's no encode method to
build a JsonValue for the client side, but instead Flow renderer is build
with getRenderer() method.- Author:
- Vaadin Ltd
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.vaadin.featurepack.server.ClientConnector
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.DetachEvent, ClientConnector.DetachListener -
Method Summary
Modifier and TypeMethodDescriptionReturns the class literal corresponding to the presentation type T.com.vaadin.flow.data.renderer.Renderer<T> Returns the Flow Renderer that will be used to render the items of type T.Methods inherited from interface com.vaadin.featurepack.server.ClientConnector
addLegacyAttachListener, addLegacyDetachListener, attach, beforeClientResponse, detach, getFParent, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive
-
Method Details
-
getPresentationType
Returns the class literal corresponding to the presentation type T.- Returns:
- the class literal of T
-
getRenderer
com.vaadin.flow.data.renderer.Renderer<T> getRenderer()Returns the Flow Renderer that will be used to render the items of type T.- Returns:
- the Flow Renderer for type T
-