com.google.gwt.app.place
Class PlaceChangeEvent<P extends Place>
java.lang.Object
com.google.gwt.event.shared.GwtEvent<PlaceChangeEvent.Handler<P>>
com.google.gwt.app.place.PlaceChangeEvent<P>
- Type Parameters:
P - the type of the new place
public class PlaceChangeEvent<P extends Place>
- extends GwtEvent<PlaceChangeEvent.Handler<P>>
Experimental API: This class is still under rapid
development, and is very likely to be deleted. Use it at your own risk.
Event thrown when the user has reached a new location in the app.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TYPE
public static final GwtEvent.Type<PlaceChangeEvent.Handler<?>> TYPE
PlaceChangeEvent
public PlaceChangeEvent(P newPlace)
getAssociatedType
public GwtEvent.Type<PlaceChangeEvent.Handler<P>> getAssociatedType()
- Description copied from class:
GwtEvent
- Returns the type used to register this event. Used by handler manager to
dispatch events to the correct handlers.
- Specified by:
getAssociatedType in class GwtEvent<PlaceChangeEvent.Handler<P extends Place>>
- Returns:
- the type
getNewPlace
public P getNewPlace()