public class HtmlRenderer extends AbstractRenderer<Object,String>
ClientConnector.AttachEvent, ClientConnector.AttachListener, ClientConnector.ConnectorErrorEvent, ClientConnector.DetachEvent, ClientConnector.DetachListener| Constructor and Description |
|---|
HtmlRenderer()
Creates a new HTML renderer.
|
HtmlRenderer(String nullRepresentation)
Creates a new HTML renderer.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNullRepresentation()
Null representation for the renderer.
|
protected HtmlRendererState |
getState()
Returns the shared state for this connector.
|
protected HtmlRendererState |
getState(boolean markAsDirty)
Returns the shared state for this connector.
|
encode, encode, extend, getParent, getParentGrid, getPresentationType, getSupportedParentTyperemove, setParentaddAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, attach, beforeClientResponse, createState, detach, encodeState, equals, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getStateType, getUI, handleConnectorRequest, hashCode, hasListeners, isAttached, isConnectorEnabled, isThis, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource, updateDiffstateclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddAttachListener, addDetachListener, attach, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandlergetConnectorIdpublic HtmlRenderer(String nullRepresentation)
nullRepresentation - the html representation of null valuepublic HtmlRenderer()
public String getNullRepresentation()
AbstractRenderergetNullRepresentation in class AbstractRenderer<Object,String>nullprotected HtmlRendererState getState()
AbstractClientConnector
As a side effect, marks the connector dirty so any changes done to the
state will be sent to the client. Use getState(false) to avoid
marking the connector as dirty.
getState in class AbstractRenderer<Object,String>protected HtmlRendererState getState(boolean markAsDirty)
AbstractClientConnectorgetState in class AbstractRenderer<Object,String>markAsDirty - true if the connector should automatically be marked dirty,
false otherwiseAbstractClientConnector.getState()Copyright © 2019 Vaadin Ltd. All rights reserved.