[Image] EchoPoint
Helping you build truly dynamic and stateful web applications!
nothing

ExpandableSection   Click here for complete JavaDoc

The ExpandableSection components provides a tweakable icon that the user can use to hide or show content within the section.  If you have ever used Lotus Notes, you'll have seen this idea before.

The ExpandableSection is in fact using another component internally called a TitleBar.  This class provides the title across the top and also the expandable icon on the left.  It is responsible for handling the expand/collapse events as well. 

Any content at all can be placed within ExpandableSection.  Usually you would group the content in a container like component such as a Panel.

[Image]
 ExpandableSection es = new ExpandableSection(false,title,genContent());
es.setBackground(genBackground());
es.setForeground(genForeground());
es.setFont(genFont());

Client Browser Support :

All clients supported by the Echo Framework.


Home

SourceForge Logo

The EchoPoint project is kindly hosted by SourceForge