Hi,
I'm trying to customize DatPicker for custom use-cases.
I had to use some visibility hacks using new classes declared in
package com.google.gwt.user.datepicker.client to access some package-visible
types and methods.
Is there any reason the DatePicker is so ... package restricted ? This makes
customisation very difficult :
CalendarUtil.isWeekend is not public. Why ?
DatePicker.StandardCss is not a public class, and DatePickerComponent.css()
is only package visible. This makes creating custom DatePickerComponent
difficult as we can't reuse the DatePicker defined CSS styles names.
CalendarView may at least provide delegate methods to access day-related
style :
public String dayIsValueAndHighlighted()
{
return css().dayIsValueAndHighlighted();
}
CellGridImpl is package visible. I can understand the doc about
DefaultCalendarView not beeing extensible to allow free changes in future,
but maybe the Grid implmentation could be made public for reuse ?
Cheers,
Nicolas
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---