GWT 2.1.0

com.google.gwt.requestfactory.ui.client
Class EntityProxyKeyProvider<P extends EntityProxy>

java.lang.Object
  extended by com.google.gwt.requestfactory.ui.client.EntityProxyKeyProvider<P>
Type Parameters:
P - the proxy type
All Implemented Interfaces:
ProvidesKey<P>

public class EntityProxyKeyProvider<P extends EntityProxy>
extends java.lang.Object
implements ProvidesKey<P>

An EntityProxy-aware key provider, handy for use with SelectionModel and various cell widgets.

See Also:
CellBrowser, CellList, CellTable

Constructor Summary
EntityProxyKeyProvider()
           
 
Method Summary
 java.lang.Object getKey(P item)
          Get the key for a list item.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityProxyKeyProvider

public EntityProxyKeyProvider()
Method Detail

getKey

public java.lang.Object getKey(P item)
Description copied from interface: ProvidesKey
Get the key for a list item.

Specified by:
getKey in interface ProvidesKey<P extends EntityProxy>
Parameters:
item - the list item
Returns:
the key that represents the item

GWT 2.1.0