本文整理了Java中com.google.gwt.user.datepicker.client.DatePicker.addShowRangeHandler()
方法的一些代码示例,展示了DatePicker.addShowRangeHandler()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。DatePicker.addShowRangeHandler()
方法的具体详情如下:
包路径:com.google.gwt.user.datepicker.client.DatePicker
类名称:DatePicker
方法名:addShowRangeHandler
[英]Adds a show range handler and immediately activate the handler on the current view.
[中]添加显示范围处理程序并立即在当前视图上激活该处理程序。
代码示例来源:origin: com.google.gwt/gwt-servlet
/**
* Adds a show range handler and immediately activate the handler on the
* current view.
*
* @param handler the handler
* @return the handler registration
*/
public HandlerRegistration addShowRangeHandlerAndFire(
ShowRangeHandler<Date> handler) {
ShowRangeEvent<Date> event = new ShowRangeEvent<Date>(
getView().getFirstDate(), getView().getLastDate()) {
};
handler.onShowRange(event);
return addShowRangeHandler(handler);
}
代码示例来源:origin: com.vaadin.external.gwt/gwt-user
/**
* Adds a show range handler and immediately activate the handler on the
* current view.
*
* @param handler the handler
* @return the handler registration
*/
public HandlerRegistration addShowRangeHandlerAndFire(
ShowRangeHandler<Date> handler) {
ShowRangeEvent<Date> event = new ShowRangeEvent<Date>(
getView().getFirstDate(), getView().getLastDate()) {
};
handler.onShowRange(event);
return addShowRangeHandler(handler);
}
代码示例来源:origin: net.wetheinter/gwt-user
/**
* Adds a show range handler and immediately activate the handler on the
* current view.
*
* @param handler the handler
* @return the handler registration
*/
public HandlerRegistration addShowRangeHandlerAndFire(
ShowRangeHandler<Date> handler) {
ShowRangeEvent<Date> event = new ShowRangeEvent<Date>(
getView().getFirstDate(), getView().getLastDate()) {
};
handler.onShowRange(event);
return addShowRangeHandler(handler);
}
内容来源于网络,如有侵权,请联系作者删除!