I think you can achieve the same by using Widget#setVisible(true/
false)
to show/hide the panel.

here is how you ocan do it:

1- define  a CompositeWidget (extending Composite)
this Composite "has" a Label and "has" a Panel.

2- define a  Label in your Composite
(Label or a button/image/link to trigger the showing/hiding. +/- show/
hide)


3- define a Panel in the Composite
(this would be the main panel containing the contents you want to show
and hide)

4- for the label(button/image/link) you create an event,
for example onClick of the label, show/hide
this is achieved by calling setVisible(true/false) on your panel


in my experience Disclosure panel, acts a bit weird, when you hide
the focus remains on the label, there is something about it that is
just doesnt feel right.

-- 
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