/** {@inheritDoc} */
 @Override
 public HandlerRegistration addValueChangeHandler(
     final ValueChangeHandler<Date> dateValueChangeHandler) {
   textBox.addValueChangeHandler(
       new ValueChangeHandler<String>() {
         @Override
         public void onValueChange(ValueChangeEvent<String> event) {
           ValueChangeEvent.fire(DatePickerBase.this, getValue());
         }
       });
   return addHandler(dateValueChangeHandler, ValueChangeEvent.getType());
 }
예제 #2
0
 @Override
 public HandlerRegistration addValueChangeHandler(ValueChangeHandler<List<M>> handler) {
   if (!valueChangeHandlerInitialized) {
     valueChangeHandlerInitialized = true;
     addDomHandler(
         new ChangeHandler() {
           @Override
           public void onChange(ChangeEvent event) {
             ValueChangeEvent.fire(ListWidget.this, getValue());
           }
         },
         ChangeEvent.getType());
   }
   return addHandler(handler, ValueChangeEvent.getType());
 }
  @Override
  public HandlerRegistration addValueChangeHandler(ValueChangeHandler<Bloc> handler) {
    for (ItemWidget itemWidget : items) {
      itemWidget.addValueChangeHandler(
          new ValueChangeHandler<Bloc>() {

            @Override
            public void onValueChange(ValueChangeEvent<Bloc> event) {
              ValueChangeEvent.fire(ExtendedAbstractComponent.this, getValue());
            }
          });
    }
    if (hr != null) {
      hr.removeHandler();
    }
    hr = addHandler(handler, ValueChangeEvent.getType());
    return hr;
  }
 @Override
 public HandlerRegistration addValueChangeHandler(
     ValueChangeHandler<Optional<LabelledFrame<NamedIndividualFrame>>> handler) {
   return addHandler(handler, ValueChangeEvent.getType());
 }
예제 #5
0
 @Override
 public HandlerRegistration addValueChangeHandler(ValueChangeHandler<Boolean> handler) {
   return addHandler(handler, ValueChangeEvent.getType());
 }
 @Override
 public HandlerRegistration addValueChangeHandler(
     ValueChangeHandler<List<? extends Suggestion>> handler) {
   return addHandler(handler, ValueChangeEvent.getType());
 }
예제 #7
0
 public HandlerRegistration addValueChangeHandler(ValueChangeHandler<Void> handler) {
   return handlers_.addHandler(ValueChangeEvent.getType(), handler);
 }
 /** Allow parent Widgets to register for events when the operator changes */
 public HandlerRegistration addValueChangeHandler(ValueChangeHandler<OperatorSelection> handler) {
   return addHandler(handler, ValueChangeEvent.getType());
 }
 @Override
 public HandlerRegistration addValueChangeHandler(ValueChangeHandler<VnicProfileModel> handler) {
   return addHandler(handler, ValueChangeEvent.getType());
 }
예제 #10
0
 public HandlerRegistration addValueChangeHandler(ValueChangeHandler<String> h) {
   return addHandler(h, ValueChangeEvent.getType());
 }
 @Override
 public HandlerRegistration addValueChangeHandler(
     ValueChangeHandler<List<SelectionItem>> handler) {
   return addHandler(handler, ValueChangeEvent.getType());
 }
예제 #12
0
 @Override
 public HandlerRegistration addValueChangeHandler(ValueChangeHandler<Integer> handler) {
   return this.addHandler(handler, ValueChangeEvent.getType());
 }
예제 #13
0
 /**
  * @see
  *     com.google.gwt.event.logical.shared.HasValueChangeHandlers#addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler)
  */
 @Override
 public HandlerRegistration addValueChangeHandler(
     ValueChangeHandler<TaskInboxFilterBean> handler) {
   return addHandler(handler, ValueChangeEvent.getType());
 }
예제 #14
0
 @Override
 public HandlerRegistration addValueChangeHandler(final ValueChangeHandler<Date> handler) {
   return handlers.addHandler(ValueChangeEvent.getType(), handler);
 }
예제 #15
0
 @Override
 public HandlerRegistration addValueChangeHandler(
     ValueChangeHandler<List<ArtifactCommentBean>> handler) {
   return addHandler(handler, ValueChangeEvent.getType());
 }
예제 #16
0
 @Override
 public HandlerRegistration addValueChangeHandler(final ValueChangeHandler<E> handler) {
   // don't add to peer, since its changed value is the entire item list
   return handlerManager.addHandler(ValueChangeEvent.getType(), handler);
 }
예제 #17
0
 @Override
 public HandlerRegistration addValueChangeHandler(ValueChangeHandler<Optional<List<O>>> handler) {
   return addHandler(handler, ValueChangeEvent.getType());
 }
예제 #18
0
  /**
   * @see
   *     com.google.gwt.event.logical.shared.HasValueChangeHandlers#addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler)
   */
  public HandlerRegistration addValueChangeHandler(ValueChangeHandler<Date> handler) {

    return addHandler(handler, ValueChangeEvent.getType());
  }
예제 #19
0
 public HandlerRegistration addChangeHandler(ValueChangeHandler<String> handler) {
   return this.addHandler(handler, ValueChangeEvent.getType());
 }