com.vaadin.ui.components.grid
Class AbstractRenderer<T>
java.lang.Object
com.vaadin.server.AbstractClientConnector
com.vaadin.server.AbstractExtension
com.vaadin.ui.components.grid.AbstractRenderer<T>
- Type Parameters:
T - the type this renderer knows how to present
- All Implemented Interfaces:
- MethodEventSource, ClientConnector, Extension, com.vaadin.shared.Connector, Renderer<T>, java.io.Serializable
- Direct Known Subclasses:
- DateRenderer, HtmlRenderer, NumberRenderer, TextRenderer
public abstract class AbstractRenderer<T>
- extends AbstractExtension
- implements Renderer<T>
An abstract base class for server-side Grid renderers.
Grid renderers. This class
currently extends the AbstractExtension superclass, but this fact should be
regarded as an implementation detail and subject to change in a future major
or minor Vaadin revision.
- Since:
- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
| Methods inherited from class com.vaadin.server.AbstractClientConnector |
addAttachListener, addDetachListener, addExtension, addListener, addListener, addListener, addMethodInvocationToQueue, attach, beforeClientResponse, createState, detach, encodeState, fireEvent, getAllChildrenIterable, getConnectorId, getErrorHandler, getExtensions, getListeners, getResource, getRpcManager, getRpcProxy, getSession, getState, getState, getStateType, getUI, handleConnectorRequest, hasListeners, isAttached, isConnectorEnabled, markAsDirty, markAsDirtyRecursive, registerRpc, registerRpc, removeAttachListener, removeDetachListener, removeExtension, removeListener, removeListener, removeListener, removeListener, requestRepaint, requestRepaintAll, retrievePendingRpcCalls, setErrorHandler, setResource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, 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 |
AbstractRenderer
protected AbstractRenderer(java.lang.Class<T> presentationType)
getSupportedParentType
@Deprecated
protected java.lang.Class<Grid> getSupportedParentType()
- Deprecated.
- This method is inherited from AbstractExtension but should never be
called directly with an AbstractRenderer.
- Overrides:
getSupportedParentType in class AbstractExtension
- Returns:
- a type that the parent must be an instance of
extend
@Deprecated
protected void extend(AbstractClientConnector target)
- Deprecated.
- This method is inherited from AbstractExtension but should never be
called directly with an AbstractRenderer.
- Overrides:
extend in class AbstractExtension
- Parameters:
target - the connector to attach this extension to
getPresentationType
public java.lang.Class<T> getPresentationType()
- Description copied from interface:
Renderer
- Returns the class literal corresponding to the presentation type T.
- Specified by:
getPresentationType in interface Renderer<T>
- Returns:
- the class literal of T
getItemId
protected java.lang.Object getItemId(java.lang.String key)
- Gets the item id for a row key.
A key is used to identify a particular row on both a server and a client.
This method can be used to get the item id for the row key that the
client has sent.
- Parameters:
key - the row key for which to retrieve an item id
- Returns:
- the item id corresponding to
key
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.