A component with a header and content component which shows and hide the content when user clicks on the header.
This is a Vaadin wrapper for GWT's DisclosurePanel: A widget that consists of a header and a content panel that discloses the content when a user clicks on the header.
You can set any component as a header and a content. When the user clicks on the header, the visibility of the content will be toggled. It supports an roll down animation of the content, toggling visibility of the content programmatically and attaching server side handlers to notice a toggle on visibility.
Experimental first release of the component to verify the principle and asses usefulness of the add-on. Works only with Vaadin 7.
There are known sizing issues with this add-on. Some components as content does not get sized correctly, for example Table, which causes it to not be visible. Also the reflow of the reflow of the components where the Depot is in happens too early when the animation is on, which will cause that the components below the Depot will not be pushed down as they should.