Nick and anyone else experimenting with the Virtual Tree, I have changed the interface slightly. Previously, the "opened" value was a tri-state boolean: true meant display the branch in its opened state; false meant display the branch in its closed state; and null meant there are no children so do not display the open/close button. That wasn't quite adequate, in that it was not possible to display a branch in its opened state but without an open/close button.
The interface change is to addBranch() and to the node object itself. Instead of a tri-state boolean for the opened state, there is a standard 2-state boolean indicating whether the branch should be displayed in its opened or closed state, and a separate boolean indicating whether the open/close button should be displayed. To locate places that likely require a change, search your app for all occurrences of addBranch. You may or may not require changes here, depending on whether you specified icons. The new parameter precedes the icon parameters. Search also for any occurrences of "opened" which you are most likely to find in calls to setState(). All of the examples and tests have been updated to conform to the new interface. Cheers, Derrell ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
