Sunday, May 29, 2011

Tree item for MouseDownEvent

Good Afternoon,

For items in a tree how do you determine what tree item was clicked
on? I have a tree that I am using like a menu and based on the tree
item selected I would like to display a different panel. Below is the
MouseDownHandler that I am working with. How should I be determining
what list item the event was fired for?


tree.addMouseDownHandler(new MouseDownHandler(){
public void onMouseDown(MouseDownEvent event) {
// TODO display panel for item selected in tree

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment