/**
  * Fires a open event on all registered handlers in the handler manager.If no such handlers exist,
  * this method will do nothing.
  *
  * @param <S> The event source
  * @param source the source of the handlers
  * @param jsObj the native event
  */
 public static <S extends HasCellMouseUpHandlers & HasHandlers> void fire(
     S source, JavaScriptObject jsObj) {
   if (TYPE != null) {
     CellMouseUpEvent event = new CellMouseUpEvent(jsObj);
     source.fireEvent(event);
   }
 }
 /**
  * Fires a open event on all registered handlers in the handler manager.If no such handlers exist,
  * this method will do nothing.
  *
  * @param <S> The event source
  * @param source the source of the handlers
  * @param jsObj the native event
  */
 public static <S extends HasRecordContextClickHandlers & HasHandlers> void fire(
     S source, JavaScriptObject jsObj) {
   if (TYPE != null) {
     RecordContextClickEvent event = new RecordContextClickEvent(jsObj);
     source.fireEvent(event);
   }
 }
 /**
  * Fires a open event on all registered handlers in the handler manager.If no such handlers exist,
  * this method will do nothing.
  *
  * @param <S> The event source
  * @param source the source of the handlers
  * @param jsObj the native event
  */
 public static <S extends HasFieldStateChangedHandlers & HasHandlers> void fire(
     S source, JavaScriptObject jsObj) {
   if (TYPE != null) {
     FieldStateChangedEvent event = new FieldStateChangedEvent(jsObj);
     source.fireEvent(event);
   }
 }
 /**
  * Fires a open event on all registered handlers in the handler manager.If no such handlers exist,
  * this method will do nothing.
  *
  * @param <S> The event source
  * @param source the source of the handlers
  * @param jsObj the native event
  */
 public static <S extends HasDragResizeStartHandlers & HasHandlers> void fire(
     S source, JavaScriptObject jsObj) {
   if (TYPE != null) {
     DragResizeStartEvent event = new DragResizeStartEvent(jsObj);
     source.fireEvent(event);
   }
 }
Beispiel #5
0
 /**
  * Fires a open event on all registered handlers in the handler manager.If no such handlers exist,
  * this method will do nothing.
  *
  * @param <S> The event source
  * @param source the source of the handlers
  * @param jsObj the native event
  */
 public static <S extends HasIconKeyPressHandlers & HasHandlers> void fire(
     S source, JavaScriptObject jsObj) {
   if (TYPE != null) {
     IconKeyPressEvent event = new IconKeyPressEvent(jsObj);
     source.fireEvent(event);
   }
 }
Beispiel #6
0
 /**
  * Fires a open event on all registered handlers in the handler manager.If no such handlers exist,
  * this method will do nothing.
  *
  * @param <S> The event source
  * @param source the source of the handlers
  * @param jsObj the native event
  */
 public static <S extends HasDataArrivedHandlers & HasHandlers> void fire(
     S source, JavaScriptObject jsObj) {
   if (TYPE != null) {
     DataArrivedEvent event = new DataArrivedEvent(jsObj);
     source.fireEvent(event);
   }
 }
Beispiel #7
0
 /**
  * Fires an {@link AttachEvent} on all registered handlers in the handler source.
  *
  * @param <S> The handler source type
  * @param source the source of the handlers
  * @param attached whether to announce an attach or detach
  */
 public static <S extends HasAttachHandlers> void fire(S source, boolean attached) {
   if (TYPE != null) {
     AttachEvent event = new AttachEvent(attached);
     source.fireEvent(event);
   }
 }
 /**
  * Fires a command event on all registered handlers in the handler source.
  *
  * @param <S> The handler source
  * @param source the source of the handlers
  * @param command the command
  */
 public static <S extends HasCommandHandlers & HasHandlers> void fire(S source, Command command) {
   if (TYPE != null) {
     CommandEvent event = new CommandEvent(command);
     source.fireEvent(event);
   }
 }