Instead of disallowing people from invoking:

setStartIndex(int startIndex)
setViewSize(int size)

why not simply define them as the index of the first item that shows up in the current page, and the number of items that show up in the current page, respectively. The current convention of "killing" these methods is sort of anti-OOP. You're not supposed to extend a class and then say you're not extending some of its methods. And anyway in this case, I really don't see the harm of allowing people to invoke them with the above definitions.

Gili
--
http://www.desktopbeautifier.com/


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to