/** * Fires a close event on all registered handlers in the handler manager. * * @param <T> the target type * @param source the source of the handlers * @param target the target * @param autoClosed was the target closed automatically */ public static <T> void fire(HasCloseHandlers<T> source, T target, boolean autoClosed) { if (TYPE != null) { CloseEvent<T> event = new CloseEvent<T>(target, autoClosed); source.fireEvent(event); } }
/** * Fires a close event on all registered handlers in the handler manager. * * @param <T> the target type * @param source the source of the handlers * @param target the target * @param autoClosed was the target closed automatically */ public static <T> void fire(HasCloseHandlers<T> source, T target, boolean autoClosed) { if (TYPE != null) { CloseEvent<T> event = new CloseEvent<T>(target, autoClosed); source.fireEvent(event); } }
/** * Fires a close event on all registered handlers in the handler manager. * * @param <T> the target type * @param source the source of the handlers * @param target the target * @param autoClosed was the target closed automatically */ public static <T> void fire(HasCloseHandlers<T> source, T target, boolean autoClosed) { if (TYPE != null) { CloseEvent<T> event = new CloseEvent<T>(target, autoClosed); source.fireEvent(event); } }