Java 类com.google.gwt.event.dom.client.HasChangeHandlers 实例源码

项目:r01fb    文件:GWTWidgets.java   
/**
 * 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);
        }
    }
}
项目:firefly    文件:TableFilterSupport.java   
public void addChangeHandler(ChangeHandler changeHandler) {
    if (box instanceof HasChangeHandlers) {
        ((HasChangeHandlers)box).addChangeHandler(changeHandler);
    }
}
项目:gwittir    文件:BindingBuilder.java   
public static SetPropertyLeft bindOnChangeHandler(HasChangeHandlers object) {
    ChangeHandlerBindableAdapter a = new ChangeHandlerBindableAdapter(object);

    return bind(a);
}
项目:gwittir    文件:BindingBuilder.java   
public SetPropertyLeft bindLeftOnChangeHandler(HasChangeHandlers o) {
    this.temp = new ChangeHandlerBindableAdapter(o);

    return this;
}
项目:gwittir    文件:BindingBuilder.java   
public SetPropertyRight toRightOnChangeHandler(HasChangeHandlers o) {
    this.temp = new ChangeHandlerBindableAdapter(o);

    return this;
}
项目:gwittir    文件:ChangeHandlerBindableAdapter.java   
public ChangeHandlerBindableAdapter(HasChangeHandlers wrapped){
    super(wrapped);
}
项目:gwittir    文件:SetRight.java   
SetPropertyRight toRightOnChangeHandler(HasChangeHandlers o);
项目:gwittir    文件:SetLeft.java   
SetPropertyLeft bindLeftOnChangeHandler(HasChangeHandlers o);