Examples of fireEvent()


Examples of org.menacheri.jetserver.event.EventDispatcher.fireEvent()

        return Events.SESSION_MESSAGE;
      }
    });

    Event event = Events.event(null, Events.SESSION_MESSAGE);
    dispatcher.fireEvent(event);
    assertTrue(latch.await(1, TimeUnit.SECONDS));
  }

  @Test
  public void eventReceiptOnANYTypeEventHandler() throws InterruptedException {
View Full Code Here

Examples of org.openbp.jaspira.plugin.Plugin.fireEvent()

    {
      Plugin focusedPlugin = PluginFocusMgr.getInstance().getFocusedPlugin();

      if (focusedPlugin != null)
      {
        focusedPlugin.fireEvent(new JaspiraActionEvent(focusedPlugin, getName(), ae, scope));
      }
      else
      {
        JaspiraEventMgr.fireGlobalEvent(new JaspiraActionEvent(null, getName(), ae, scope));
      }
View Full Code Here

Examples of org.seleniuminspector.ElementInspector.fireEvent()

                field.focus();
            else
                dropDown.focus();
        } else {
            if (isDropDown)
                field.fireEvent("onblur");
            else
                dropDown.fireEvent("onblur");
        }

        if (!isDisabled) {
View Full Code Here

Examples of org.seleniuminspector.openfaces.DropDownFieldInspector.fireEvent()

                dropDown.focus();
        } else {
            if (isDropDown)
                field.fireEvent("onblur");
            else
                dropDown.fireEvent("onblur");
        }

        if (!isDisabled) {
            dropDown.assertExpressionEquals("offsetWidth", 230, 5);
View Full Code Here

Examples of org.seleniuminspector.openfaces.InputTextInspector.fireEvent()

        first.fireEvent("onblur");
        first.assertValue("");

        second.focus();
        second.assertValue("");
        second.fireEvent("onblur");
        second.assertValue("some prompt text");

        first.type("val1");
        first.assertValue("val1");
        first.fireEvent("onblur");
View Full Code Here

Examples of org.timepedia.chronoscope.client.XYPlot.fireEvent()

      boolean dragThresholdReached = Math.abs(uiAction.getStartX() - x)
          > dragThd;
      if (dragThresholdReached) {
        if (uiAction.getSource() instanceof Overlay) {
          if (!uiAction.isDragStarted(plot)) {
            plot.fireEvent(new ChartDragStartEvent(plot, x));
            uiAction.setDragStarted(true);
            uiAction.setDragStartX(uiAction.getStartX());
          }
          ((Overlay) uiAction.getSource()).fire(new ChartDragEvent(plot, x));
          chart.setHover(x,y);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.