T
- value typepublic class IconRenderer<T>
extends com.vaadin.ui.renderers.AbstractRenderer<T,com.vaadin.server.Resource>
ImageRenderer
somewhat.
However, unlike the latter this renderer is capable of handling any kind of resource like e.g. FontIcon
.com.vaadin.server.ClientConnector.AttachEvent, com.vaadin.server.ClientConnector.AttachListener, com.vaadin.server.ClientConnector.ConnectorErrorEvent, com.vaadin.server.ClientConnector.DetachEvent, com.vaadin.server.ClientConnector.DetachListener
Constructor and Description |
---|
IconRenderer() |
Modifier and Type | Method and Description |
---|---|
elemental.json.JsonValue |
encode(com.vaadin.server.Resource resource) |
protected IconRendererState |
getState() |
encode, extend, getNullRepresentation, getParent, getParentGrid, getPresentationType, getState, getSupportedParentType
addAttachListener, 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, updateDiffstate
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addAttachListener, addDetachListener, attach, beforeClientResponse, detach, encodeState, getErrorHandler, getExtensions, getRpcManager, getStateType, getUI, handleConnectorRequest, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, removeAttachListener, removeDetachListener, removeExtension, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler
public elemental.json.JsonValue encode(com.vaadin.server.Resource resource)
encode
in interface com.vaadin.ui.renderers.Renderer<com.vaadin.server.Resource>
encode
in class com.vaadin.ui.renderers.AbstractRenderer<T,com.vaadin.server.Resource>
protected IconRendererState getState()
getState
in class com.vaadin.ui.renderers.AbstractRenderer<T,com.vaadin.server.Resource>
Copyright © 2019 Magnolia International Ltd.. All rights reserved.