Package com.vaadin.ui.renderers
Class HtmlRenderer
- java.lang.Object
-
- com.vaadin.server.AbstractClientConnector
-
- com.vaadin.server.AbstractExtension
-
- com.vaadin.ui.Grid.AbstractGridExtension
-
- com.vaadin.ui.Grid.AbstractRenderer<String>
-
- com.vaadin.ui.renderers.HtmlRenderer
-
- All Implemented Interfaces:
MethodEventSource
,ClientConnector
,Extension
,Connector
,Renderer<String>
,Serializable
public class HtmlRenderer extends Grid.AbstractRenderer<String>
A renderer for presenting HTML content.- Since:
- 7.4
- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.vaadin.server.ClientConnector
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListener
-
-
Constructor Summary
Constructors Constructor Description HtmlRenderer()
Creates a new HTML renderer.HtmlRenderer(String nullRepresentation)
Creates a new HTML renderer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getNullRepresentation()
Null representation for the renderer-
Methods inherited from class com.vaadin.ui.Grid.AbstractRenderer
encode, encode, encodeValue, extend, getPresentationType, getSupportedParentType
-
Methods inherited from class com.vaadin.ui.Grid.AbstractGridExtension
addComponentToGrid, getColumn, getItemId, getParentGrid, refreshRow, remove, removeComponentFromGrid
-
Methods inherited from class com.vaadin.server.AbstractExtension
getParent, setParent
-
Methods inherited from class com.vaadin.server.AbstractClientConnector
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, attach, beforeClientResponse, createState, detach, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getState, getState, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isConnectorEnabled, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
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
-
-
-
-
Constructor Detail
-
HtmlRenderer
public HtmlRenderer(String nullRepresentation)
Creates a new HTML renderer.- Parameters:
nullRepresentation
- the html representation ofnull
value
-
HtmlRenderer
public HtmlRenderer()
Creates a new HTML renderer.
-
-
Method Detail
-
getNullRepresentation
public String getNullRepresentation()
Description copied from class:Grid.AbstractRenderer
Null representation for the renderer- Overrides:
getNullRepresentation
in classGrid.AbstractRenderer<String>
- Returns:
- a textual representation of
null
-
-