Package com.vaadin.v7.ui.renderers
Interface Renderer<T>
-
- Type Parameters:
T- the type this renderer knows how to present
- All Superinterfaces:
ClientConnector,com.vaadin.shared.Connector,Extension,Serializable
- All Known Implementing Classes:
AbstractJavaScriptRenderer,ButtonRenderer,ClickableRenderer,DateRenderer,Grid.AbstractRenderer,HtmlRenderer,ImageRenderer,NumberRenderer,ProgressBarRenderer,TextRenderer
@Deprecated public interface Renderer<T> extends Extension
Deprecated.A ClientConnector for controlling client-sidecom.vaadin.client.widget.grid.Renderer. 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 Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description elemental.json.JsonValueencode(T value)Deprecated.Encodes the given value into aJsonValue.Class<T>getPresentationType()Deprecated.Returns the class literal corresponding to the presentation type T.voidremove()Deprecated.voidsetParent(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
-
-
-
-
Method Detail
-
getPresentationType
Class<T> getPresentationType()
Deprecated.Returns the class literal corresponding to the presentation type T.- Returns:
- the class literal of T
-
encode
elemental.json.JsonValue encode(T value)
Deprecated.Encodes the given value into aJsonValue.- Parameters:
value- the value to encode- Returns:
- 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.
-
-