|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.app.place.AbstractRecordListActivity<R>
R - the type of Record listedpublic abstract class AbstractRecordListActivity<R extends Record>
Experimental API: This class is still under rapid development, and is very likely to be deleted. Use it at your own risk.
Abstract activity for requesting and displaying a list of .Subclasses must:
RecordListView
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.google.gwt.app.place.Activity |
|---|
Activity.Display |
| Constructor Summary | |
|---|---|
AbstractRecordListActivity(RecordListView<R> view)
|
|
| Method Summary | |
|---|---|
RecordListView<R> |
getView()
|
void |
onCancel()
Called when Activity.start(com.google.gwt.app.place.Activity.Display) has not yet replied to its callback, but the
user has lost interest. |
void |
onRangeChanged(ListView<R> listView)
Called by the table as it needs data. |
void |
onStop()
Called when the Activity's widget has been removed from view. |
void |
select(java.lang.String id)
Select the record if it happens to be visible, or clear the selection if called with null or "". |
void |
start(Activity.Display display)
Called when the Activity should prepare its IsWidget for the user. |
void |
update(WriteOperation writeOperation,
R record)
|
boolean |
willStop()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.gwt.app.place.RecordListView.Delegate |
|---|
createClicked |
| Constructor Detail |
|---|
public AbstractRecordListActivity(RecordListView<R> view)
| Method Detail |
|---|
public RecordListView<R> getView()
public void onCancel()
ActivityActivity.start(com.google.gwt.app.place.Activity.Display) has not yet replied to its callback, but the
user has lost interest.
onCancel in interface Activitypublic void onRangeChanged(ListView<R> listView)
onRangeChanged in interface ListView.Delegate<R extends Record>public void onStop()
Activity
onStop in interface Activitypublic void select(java.lang.String id)
public void start(Activity.Display display)
ActivityIsWidget for the user.
Once the widget is ready (typically after an RPC response has been
received), receiver should present it via
Activity.Display.showActivityWidget(IsWidget).
start in interface Activitydisplay - the panel to display this activity's widget when it is ready
public void update(WriteOperation writeOperation,
R record)
public boolean willStop()
willStop in interface Activity
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||