I don't think this is really "new"

You can also define a CustomClass implements PlaceChangeEvent.Handler {}

then addHandler(PCE.TYPE, new CustomClass());

As for the .TYPE vs getType(), I do not know the details but if you look at 
PlaceChangeEvent extends GwtEvent it has the static field TYPE
but a dom event like ClickEvent still has getType()


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/YVaVO4kj6lcJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to