Why is AbstractCellTable.createHeaders() private?

15 views
Skip to first unread message

ruimo

unread,
May 5, 2012, 3:57:53 AM5/5/12
to Google Web Toolkit
Hi, I'm creating a subclass of DataGrid to support multi-column sort.
Since I need to customize header rendering, desire to override
createHeaders() in AbstractCellTable. Unfortunately, the method is
private. Why is it private? I expect some extent of developers want to
customize header/footer rendering of table.

Ümit Seren

unread,
May 11, 2012, 3:57:14 AM5/11/12
to google-we...@googlegroups.com
The GWT team did this be design.
AFAIK interfaces and classes which are not really finalized are (package-) private so that nobody can rely or build on top of them. Otherwise if the GWT team decides to change something it will break their code.
I guess that's the reason why createHeaders() is private. 
Reply all
Reply to author
Forward
0 new messages