本文整理汇总了Java中com.google.gwt.view.client.RangeChangeEvent类的典型用法代码示例。如果您正苦于以下问题:Java RangeChangeEvent类的具体用法?Java RangeChangeEvent怎么用?Java RangeChangeEvent使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
RangeChangeEvent类属于com.google.gwt.view.client包,在下文中一共展示了RangeChangeEvent类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: fireEvent
import com.google.gwt.view.client.RangeChangeEvent; //导入依赖的package包/类
public void fireEvent(GwtEvent<?> event) {
if (event.getAssociatedType().equals(RowCountChangeEvent.getType())) {
rowCountHandlers.forEach((h) -> h.onRowCountChange((RowCountChangeEvent) event));
} else if (event.getAssociatedType().equals(RangeChangeEvent.getType())) {
rangeHandlers.forEach((h) -> h.onRangeChange((RangeChangeEvent) event));
}
}
示例2: onRangeChange
import com.google.gwt.view.client.RangeChangeEvent; //导入依赖的package包/类
@UiHandler("table")
void onRangeChange(RangeChangeEvent event) {
Range r = event.getNewRange();
int start = r.getStart();
fetch(start);
}
示例3: addRangeChangeHandler
import com.google.gwt.view.client.RangeChangeEvent; //导入依赖的package包/类
@Override
public HandlerRegistration addRangeChangeHandler( final RangeChangeEvent.Handler handler ) {
return dataGrid.addRangeChangeHandler( handler );
}
示例4: addRangeChangeHandler
import com.google.gwt.view.client.RangeChangeEvent; //导入依赖的package包/类
@Override
public HandlerRegistration addRangeChangeHandler(final RangeChangeEvent.Handler handler) {
return dataGrid.addRangeChangeHandler(handler);
}
示例5: addRangeChangeHandler
import com.google.gwt.view.client.RangeChangeEvent; //导入依赖的package包/类
/**
* <p><font color='red'>This method is not in use, and will
* throw an UnsupportedOperationException.</font></p>
* @throws UnsupportedOperationException
*/
@Override
public HandlerRegistration addRangeChangeHandler(RangeChangeEvent.Handler handler) {
// throw new UnsupportedOperationException();
return null;
}
示例6: addRangeChangeHandler
import com.google.gwt.view.client.RangeChangeEvent; //导入依赖的package包/类
@Override
public HandlerRegistration addRangeChangeHandler(RangeChangeEvent.Handler handler) {
return presenter.addRangeChangeHandler(handler);
}