| SOURCE CODE REQUIRED FOR EXPANDABLE PAGE ELANBEAN(ExpandCB): |
| // Instantiate the Expandable page ElanBean |
| ExpandCB exp = new ExpandCB(5); |
| // Add the first parent-child pair to the menu |
| exp.addPair("View The Source Code for this ElanBean",sourceCodeTcb); |
| // Add the second parent-child pair to the menu |
| exp.addPair("You may list the properties in a table as shown here",tableCBExample); |
| // Add the third parent-child pair to the menu |
| exp.addPair("Breaking Political News using Elan Bean",newsTCB); |
| // Add the fourth parent-child pair to the menu |
| exp.addPair(sunTextTCB,sunGraphTCB); |
| // Add the fifth parent-child pair to the menu |
| exp.addPair("SeamLess Integration of ElanBeans",nestTCB); |
| // Unravel the menu on the browser |
| exp.buildWC(req,out); |