List of usage examples for com.google.gwt.event.logical.shared HasOpenHandlers fireEvent
void fireEvent(GwtEvent<?> event);
From source file:com.kk_electronic.kkportal.core.event.FrameReceivedEvent.java
License:Open Source License
/** * Fires a open event on all registered handlers in the handler manager.If * no such handlers exist, this method will do nothing. * /*from ww w. j a va 2 s . c o m*/ * @param <T> * the target type * @param source * the source of the handlers * @param target * the target */ public static <T> void fire(HasOpenHandlers<T> source, String data) { if (TYPE != null) { FrameReceivedEvent event = new FrameReceivedEvent(data); source.fireEvent(event); } }
From source file:com.kk_electronic.kkportal.core.event.FrameSentEvent.java
License:Open Source License
/** * Fires a open event on all registered handlers in the handler manager.If no * such handlers exist, this method will do nothing. * /*from w w w. ja v a2 s . c o m*/ * @param <T> the target type * @param source the source of the handlers * @param target the target */ public static <T> void fire(HasOpenHandlers<T> source) { if (TYPE != null) { FrameSentEvent event = new FrameSentEvent(); source.fireEvent(event); } }