Jie,

Subclass the StackPanel and override the showStack method:

  @Override
  public void showStack(int index) {
    super.showStack(index);
    // display your information
  }

You could also add more methods to allow adding handlers/listeners if
you want.

HTH,
Chad

On Sep 24, 9:00 pm, Jie <[email protected]> wrote:
> Hi all, I created a stack panel, and I'd like to display some
> information when user clicks each header of the stack panel, but I can
> not find addListener() method for the stack panel, do you know how to
> add the listner for such events?
>
> Best Regards,
> Jie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to