com.google.gwt.app.place
Class AbstractRecordListView<R extends Record>

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by com.google.gwt.app.place.AbstractRecordListView<R>
Type Parameters:
R - the type of the records
All Implemented Interfaces:
IsWidget, PropertyView<R>, RecordListView<R>, HasHandlers, EventListener

public abstract class AbstractRecordListView<R extends Record>
extends Composite
implements RecordListView<R>

Experimental API: This class is still under rapid development, and is very likely to be deleted. Use it at your own risk.

Abstract implementation of RecordListView. Subclasses must call init(com.google.gwt.user.client.ui.Widget, com.google.gwt.user.cellview.client.CellTable, com.google.gwt.user.client.ui.Button, java.util.List>) with the root widget, its CellTable, and a list of PropertyColumn.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject
UIObject.DebugIdImpl, UIObject.DebugIdImplEnabled
 
Nested classes/interfaces inherited from interface com.google.gwt.app.place.RecordListView
RecordListView.Delegate<R extends Record>
 
Field Summary
 
Fields inherited from class com.google.gwt.user.client.ui.UIObject
DEBUG_ID_PREFIX
 
Constructor Summary
AbstractRecordListView()
           
 
Method Summary
 PagingListView<R> asPagingListView()
           
 AbstractRecordListView<R> asWidget()
           
 java.util.Set<Property<?>> getProperties()
           
 void setDelegate(RecordListView.Delegate<R> delegate)
          Sets the delegate.
 
Methods inherited from class com.google.gwt.user.client.ui.Composite
isAttached, onBrowserEvent
 
Methods inherited from class com.google.gwt.user.client.ui.Widget
fireEvent, getLayoutData, getParent, removeFromParent, setLayoutData, sinkEvents
 
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, isVisible, removeStyleDependentName, removeStyleName, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractRecordListView

public AbstractRecordListView()
Method Detail

asPagingListView

public PagingListView<R> asPagingListView()
Specified by:
asPagingListView in interface RecordListView<R extends Record>

asWidget

public AbstractRecordListView<R> asWidget()
Specified by:
asWidget in interface IsWidget

getProperties

public java.util.Set<Property<?>> getProperties()
Specified by:
getProperties in interface PropertyView<R extends Record>
Returns:
the set of properties this view displays, which are guaranteed to be properties of R

setDelegate

public void setDelegate(RecordListView.Delegate<R> delegate)
Description copied from interface: RecordListView
Sets the delegate.

Specified by:
setDelegate in interface RecordListView<R extends Record>