/** * Fires a resize event on all registered handlers in the handler source. * * @param <S> The handler source * @param source the source of the handlers * @param width the new width * @param height the new height */ public static <S extends HasResizeHandlers & HasHandlers> void fire(S source, int width, int height) { if (TYPE != null) { ResizeEvent event = new ResizeEvent(width, height); source.fireEvent(event); } }
/** * Fires a resize event on all registered handlers in the handler source. * * @param <S> The handler source * @param source the source of the handlers * @param width the new width * @param height the new height */ public static <S extends HasResizeHandlers & HasHandlers> void fire(S source, int width, int height) { if (TYPE != null) { ResizeEvent event = new ResizeEvent(width, height); source.fireEvent(event); } }
/** * Fires a resize event on all registered handlers in the handler source. * * @param <S> The handler source * @param source the source of the handlers * @param width the new width * @param height the new height */ public static <S extends HasResizeHandlers & HasHandlers> void fire(S source, int width, int height) { if (TYPE != null) { ResizeEvent event = new ResizeEvent(width, height); source.fireEvent(event); } }