public static Observable<SelectionChangeEvent> selectionChange(SelectionChangeEvent.HasSelectionChangedHandlers source) { return Observable.create(s -> register(s, source.addSelectionChangeHandler(s::onNext)), uiBackpressureMode()); }
public static Observable<SelectionChangeEvent> selectionChange(SelectionChangeEvent.HasSelectionChangedHandlers source) { return Observable.create(s -> register(s, source.addSelectionChangeHandler(s::onNext))); }
/** * Fires a selection change event on all registered handlers in the handler * manager. If no such handlers exist, this method will do nothing. * * @param source the source of the handlers */ public static void fire(HasSelectionChangedHandlers source) { if (TYPE != null) { SelectionChangeEvent event = new SelectionChangeEvent(); source.fireEvent(event); } }
/** * Fires a selection change event on all registered handlers in the handler * manager. If no such handlers exist, this method will do nothing. * * @param source the source of the handlers */ public static void fire(HasSelectionChangedHandlers source) { if (TYPE != null) { SelectionChangeEvent event = new SelectionChangeEvent(); source.fireEvent(event); } }
/** * Fires a selection change event on all registered handlers in the handler * manager. If no such handlers exist, this method will do nothing. * * @param source the source of the handlers */ public static void fire(HasSelectionChangedHandlers source) { if (TYPE != null) { SelectionChangeEvent event = new SelectionChangeEvent(); source.fireEvent(event); } }