zaccret
05-06-2008, 10:35 AM
In the continuation of the javabeans convention (getters/setters instead of public properties), I think that constructors with often-used fields would be appreciated by gxt users.
For example :
- Container and all its subclasses could have a Container(Layout) constructor
- ContentPanel could have a ContentPanel(Layout,String) constructor and a ContentPanel(String) constructor for layout and heading text
- TextToolItem could have a TextToolItem(String,Menu) constructor for item text and menu.
For example :
- Container and all its subclasses could have a Container(Layout) constructor
- ContentPanel could have a ContentPanel(Layout,String) constructor and a ContentPanel(String) constructor for layout and heading text
- TextToolItem could have a TextToolItem(String,Menu) constructor for item text and menu.