File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
main/java/com/flowingcode/addons/ycalendar
test/java/com/flowingcode/addons/ycalendar Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 3333@ SuppressWarnings ("serial" )
3434@ Tag ("fc-date-picker" )
3535@ JsModule ("./fc-date-picker/fc-date-picker.js" )
36- public class DatePickerEx extends DatePicker {
36+ public class ExtendedDatePicker extends DatePicker {
3737
3838 private ValueProvider <LocalDate , String > classNameGenerator ;
3939
4040 /**
4141 * Default constructor.
4242 */
43- public DatePickerEx () {
43+ public ExtendedDatePicker () {
4444 super ();
4545 }
4646
@@ -50,7 +50,7 @@ public DatePickerEx() {
5050 *
5151 * @param initialDate the pre-selected date in the picker
5252 */
53- public DatePickerEx (LocalDate initialDate ) {
53+ public ExtendedDatePicker (LocalDate initialDate ) {
5454 this ();
5555 setValue (initialDate );
5656 }
Original file line number Diff line number Diff line change 3131@ DemoSource
3232@ PageTitle ("DatePicker" )
3333@ Route (value = "year-month-calendar/date-picker" , layout = YearMonthCalendarDemoView .class )
34- public class DatePickerDemo extends Div {
34+ public class ExtendedDatePickerDemo extends Div {
3535
36- public DatePickerDemo () {
36+ public ExtendedDatePickerDemo () {
3737
38- DatePickerEx field = new DatePickerEx (LocalDate .now ());
38+ ExtendedDatePicker field = new ExtendedDatePicker (LocalDate .now ());
3939 // #if vaadin eq 0
4040 add (new LocaleSelector (field ::setI18n ));
4141 // #endif
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public YearMonthCalendarDemoView() {
3939 addDemo (YearI18NDemo .class );
4040 addDemo (YearReadonlyDemo .class );
4141 addDemo (MonthDemo .class );
42- addDemo (DatePickerDemo .class );
42+ addDemo (ExtendedDatePickerDemo .class );
4343 addDemo (InlineDatePickerDemo .class );
4444 addDemo (YearMonthFieldDemo .class );
4545 setSizeFull ();
You can’t perform that action at this time.
0 commit comments