Skip to content

Commit 381f5fd

Browse files
author
wassx
committed
Renamed delegate method for materialdatepicker from "onCalendarClick" to
"onCalendarClose"
1 parent d3df075 commit 381f5fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/gwt/material/design/client/ui/MaterialDatePicker.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public interface MaterialDatePickerDelegate {
3838
* Called as soon as a click occurs on the calendar widget. !EXPERIMENTAL!
3939
* @param currDate which is currently selected.
4040
*/
41-
void onCalendarClick(Date currDate);
41+
void onCalendarClose(Date currDate);
4242
}
4343

4444
private HTMLPanel panel;
@@ -125,7 +125,7 @@ public void setDelegate(MaterialDatePickerDelegate delegate) {
125125

126126
void notifyDelegate() {
127127
if(delegate != null) {
128-
delegate.onCalendarClick(getDate());
128+
delegate.onCalendarClose(getDate());
129129
}
130130
}
131131

0 commit comments

Comments
 (0)