com.vaadin.ui.renderers.
Interface Renderer<T>
-
Type Parameters:
T
- the type this renderer knows how to presentAll Superinterfaces:
All Known Implementing Classes:
AbstractJavaScriptRenderer
,AbstractRenderer
,ButtonRenderer
,ClickableRenderer
,ComponentRenderer
,DateRenderer
,HtmlRenderer
,ImageRenderer
,LocalDateRenderer
,LocalDateTimeRenderer
,NumberRenderer
,ProgressBarRenderer
,TextRenderer
,Tree.TreeRenderer
public interface Renderer<T> extends Extension
A ClientConnector for controlling client-side
com.vaadin.client.renderers.Renderer
Grid renderers. Renderers currently extend the Extension interface, but this fact should be regarded as an implementation detail and subject to change in a future major or minor Vaadin revision.Since:
7.4
Author:
Vaadin Ltd
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListener
-
-
Method Summary
All Methods Modifier and Type Method Description elemental.json.JsonValue
encode(T value)
Encodes the given value into a
JsonValue
.Class<T>
getPresentationType()
Returns the class literal corresponding to the presentation type T.
void
remove()
Deprecated.
void
setParent(ClientConnector parent)
Deprecated.
-
Methods inherited from interface com.vaadin.server.ClientConnector
addAttachListener, addDetachListener, attach, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getParent, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
-
Methods inherited from interface com.vaadin.shared.Connector
getConnectorId
-
-
-
-
Method Detail
-
getPresentationType
Class<T> getPresentationType()
Returns the class literal corresponding to the presentation type T.
Returns:
the class literal of T
-
encode
elemental.json.JsonValue encode(T value)
Encodes the given value into a
JsonValue
.Parameters:
value
- the value to encodeReturns:
a JSON representation of the given value
-
remove
@Deprecated void remove()
Deprecated.This method is inherited from Extension but should never be called directly with a Renderer.
-
setParent
@Deprecated void setParent(ClientConnector parent)
Deprecated.This method is inherited from Extension but should never be called directly with a Renderer.
-
-