List of usage examples for com.google.gwt.event.logical.shared ValueChangeHandler onValueChange
void onValueChange(ValueChangeEvent<T> event);
From source file:org.kuali.student.lum.lu.ui.tools.client.widgets.itemlist.ItemList.java
License:Educational Community License
private void callHandlers() { if (valueChangeHandlers != null) { MyGwtEvent myEvent = new MyGwtEvent(value); for (ValueChangeHandler<List<V>> handler : valueChangeHandlers) { handler.onValueChange(myEvent); }/*ww w . jav a 2 s. c o m*/ } }
From source file:org.optaplanner.workbench.screens.solver.client.editor.HasValueChangeHandlersImpl.java
License:Apache License
@Override public void fireEvent(GwtEvent<?> event) { for (ValueChangeHandler<T> valueChangeHandler : valueChangeHandlers) { valueChangeHandler.onValueChange((ValueChangeEvent<T>) event); }//w w w. j a va2 s .c o m }
From source file:sf.wicklet.gwt.client.HistoryChangeListener.java
License:Apache License
@Override public void onValueChange(final ValueChangeEvent<String> event) { final String token = event.getValue(); WickletGwtClient.debug("# HistoryChangeListener(): token: " + token); final ValueChangeHandler<String> h = handlers.get(token); if (h != null) { h.onValueChange(event); } else if (handler != null) { handler.onValueChange(event);/*from w w w.j av a 2 s. com*/ } else { WickletGwtClient.debug("# HistoryChangeListener(): no handler for token: " + token); } }