/** * Fires a highlight event on all registered handlers in the handler manager. * * @param <V> the highlighted value type * @param <S> The event source * @param source the source of the handlers * @param highlighted the value highlighted */ public static <V, S extends HasHighlightHandlers<V> & HasHandlers> void fire( S source, V highlighted) { if (TYPE != null) { HighlightEvent<V> event = new HighlightEvent<V>(highlighted); source.fireEvent(event); } }
/** * Fires a highlight event on all registered handlers in the handler manager. * * @param <V> the highlighted value type * @param <S> The event source * @param source the source of the handlers * @param highlighted the value highlighted */ public static <V, S extends HasHighlightHandlers<V> & HasHandlers> void fire( S source, V highlighted) { if (TYPE != null) { HighlightEvent<V> event = new HighlightEvent<V>(highlighted); source.fireEvent(event); } }
/** * Fires a highlight event on all registered handlers in the handler manager. * * @param <V> the highlighted value type * @param <S> The event source * @param source the source of the handlers * @param highlighted the value highlighted */ public static <V, S extends HasHighlightHandlers<V> & HasHandlers> void fire( S source, V highlighted) { if (TYPE != null) { HighlightEvent<V> event = new HighlightEvent<V>(highlighted); source.fireEvent(event); } }