com.google.gwt.app.place
Class AbstractActivity

java.lang.Object
  extended by com.google.gwt.app.place.AbstractActivity
All Implemented Interfaces:
Activity

public abstract class AbstractActivity
extends java.lang.Object
implements Activity

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

Simple Activity implementation that is always willing to stop, and does nothing onStop and onCancel.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.google.gwt.app.place.Activity
Activity.Display
 
Constructor Summary
AbstractActivity()
           
 
Method Summary
 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 onStop()
          Called when the Activity's widget has been removed from view.
 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.Activity
start
 

Constructor Detail

AbstractActivity

public AbstractActivity()
Method Detail

onCancel

public void onCancel()
Description copied from interface: Activity
Called when Activity.start(com.google.gwt.app.place.Activity.Display) has not yet replied to its callback, but the user has lost interest.

Specified by:
onCancel in interface Activity

onStop

public void onStop()
Description copied from interface: Activity
Called when the Activity's widget has been removed from view.

Specified by:
onStop in interface Activity

willStop

public boolean willStop()
Specified by:
willStop in interface Activity