本文整理汇总了Java中com.google.gwt.event.dom.client.HasChangeHandlers类的典型用法代码示例。如果您正苦于以下问题:Java HasChangeHandlers类的具体用法?Java HasChangeHandlers怎么用?Java HasChangeHandlers使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
HasChangeHandlers类属于com.google.gwt.event.dom.client包,在下文中一共展示了HasChangeHandlers类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: addChangeHandler
import com.google.gwt.event.dom.client.HasChangeHandlers; //导入依赖的package包/类
/**
* Sets the Change() event handler in many widgets
* @param handler the handler
* @param widgets the widgets
*/
public static void addChangeHandler(final ChangeHandler handler,final HasChangeHandlers... widgets) {
if (handler != null && widgets != null && widgets.length > 0) {
for (HasChangeHandlers w : widgets) {
if (w != null) w.addChangeHandler(handler);
}
}
}
示例2: addChangeHandler
import com.google.gwt.event.dom.client.HasChangeHandlers; //导入依赖的package包/类
public void addChangeHandler(ChangeHandler changeHandler) {
if (box instanceof HasChangeHandlers) {
((HasChangeHandlers)box).addChangeHandler(changeHandler);
}
}
示例3: bindOnChangeHandler
import com.google.gwt.event.dom.client.HasChangeHandlers; //导入依赖的package包/类
public static SetPropertyLeft bindOnChangeHandler(HasChangeHandlers object) {
ChangeHandlerBindableAdapter a = new ChangeHandlerBindableAdapter(object);
return bind(a);
}
示例4: bindLeftOnChangeHandler
import com.google.gwt.event.dom.client.HasChangeHandlers; //导入依赖的package包/类
public SetPropertyLeft bindLeftOnChangeHandler(HasChangeHandlers o) {
this.temp = new ChangeHandlerBindableAdapter(o);
return this;
}
示例5: toRightOnChangeHandler
import com.google.gwt.event.dom.client.HasChangeHandlers; //导入依赖的package包/类
public SetPropertyRight toRightOnChangeHandler(HasChangeHandlers o) {
this.temp = new ChangeHandlerBindableAdapter(o);
return this;
}
示例6: ChangeHandlerBindableAdapter
import com.google.gwt.event.dom.client.HasChangeHandlers; //导入依赖的package包/类
public ChangeHandlerBindableAdapter(HasChangeHandlers wrapped){
super(wrapped);
}
示例7: toRightOnChangeHandler
import com.google.gwt.event.dom.client.HasChangeHandlers; //导入依赖的package包/类
SetPropertyRight toRightOnChangeHandler(HasChangeHandlers o);
示例8: bindLeftOnChangeHandler
import com.google.gwt.event.dom.client.HasChangeHandlers; //导入依赖的package包/类
SetPropertyLeft bindLeftOnChangeHandler(HasChangeHandlers o);