Package com.google.gwt.activity.shared
Class AbstractActivity
java.lang.Object
com.google.gwt.activity.shared.AbstractActivity
- All Implemented Interfaces:
Activity
Simple Activity implementation that is always willing to stop, and does
nothing onStop and onCancel.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmayStop()
Called when the user is trying to navigate away from this activity.void
onCancel()
Called whenActivity.start(com.google.gwt.user.client.ui.AcceptsOneWidget, com.google.gwt.event.shared.EventBus)
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.
-
Constructor Details
-
AbstractActivity
public AbstractActivity()
-
-
Method Details
-
mayStop
Description copied from interface:Activity
Called when the user is trying to navigate away from this activity. -
onCancel
public void onCancel()Description copied from interface:Activity
Called whenActivity.start(com.google.gwt.user.client.ui.AcceptsOneWidget, com.google.gwt.event.shared.EventBus)
has not yet replied to its callback, but the user has lost interest. -
onStop
public void onStop()Description copied from interface:Activity
Called when the Activity's widget has been removed from view. All event handlers it registered will have been removed before this method is called.
-