From: <ka...@we...> - 2006-01-19 19:37:51
|
Hi Christophe, I assume you're referring to the documentation of subcomponent "node" of component "tree". And I have to say you're right, the documentation is wrong about the return type. A List is required, a Collection is not sufficient. The reason for this is that the tree needs to know in what order to display the children of a node. The return type info in the documentation is now fixed in CVS. It might take me a little while to update the reference on gui4.org, though. Thanks for the hint. Kay Christophe JALADY wrote: >Hello, > >On documentation page, >http://www.gui4j.net/gui4jdocs/index.html >a mistake seem's occur: > >"children" optional attribute is specified as >"return type: java.util.Collection" > >But in commentary, it's explained that the type must be >"java.util.List". > >Who's wrong ?? >(according to my test, I suppose that the type required is "List", but >why collection isn't sufficient ?) > > >Thank's to Gui4J Team for his work on this project. > >Christophe JALADY. > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >_______________________________________________ >Gui4j-user mailing list >Gui...@li... >https://lists.sourceforge.net/lists/listinfo/gui4j-user > > |