Examples of focus()


Examples of org.rstudio.core.client.dom.WindowEx.focus()

                  // window.focus). for chrome we'll just fall through
                  // and openSatelliteWindow will be called and the
                  // window will be reloaded)
                  if (!BrowseCap.isChrome())
                  {
                     window.focus();
                     callNotifyReactivated(window, params);
                     return;
                  }
                  else
                  {
View Full Code Here

Examples of org.seleniuminspector.ElementInspector.focus()

                .click();
        click.build().perform();

        ElementInspector emptyElement = element("empty");
        ElementInspector treeTable = element("formID:singleSelectionTreeTableID");
        treeTable.focus();
        for (int i = 1; i < 26; i++) {
            if (i == 1 || i == 4 || i == 16 || i == 19 || i == 21 || i == 24) {
                //click right arrow to expand first TreeTable node
                Actions right = new Actions(getDriver()).sendKeys(Keys.ARROW_RIGHT);
                right.build().perform();
View Full Code Here

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

        if (isFocused) {
            if (isDropDown)
                field.focus();
            else
                dropDown.focus();
        } else {
            if (isDropDown)
                field.fireEvent("onblur");
            else
                dropDown.fireEvent("onblur");
View Full Code Here

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

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

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

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

Examples of org.seleniuminspector.openfaces.TreeTableInspector.focus()

                .click();
        click.build().perform();
//        categoryOutput.click();

        TreeTableInspector multipleSelectionTreeTable = treeTable("formID:multipleSelectionTreeTableID");
        multipleSelectionTreeTable.focus();
        /*check keyboard navigation and selection*/
        //select root nodes
        for (int i = 0; i < 5; i++) {
            createEvent(multipleSelectionTreeTable, null, EventType.KEY, "keypress", KeyEvent.VK_DOWN, true);
        }
View Full Code Here

Examples of org.vaadin.console.Console.focus()

        console.setCols(80);
        console.setRows(24);
        console.setMaxBufferSize(24);
        console.setGreeting("Welcome to Vaadin console demo.");
        console.reset();
        console.focus();

        // Publish the methods in the Console class itself for testing purposes.
        console.addCommandProvider(inspector = new ObjectInspector(console));

        // Add help command
View Full Code Here

Examples of org.waveprotocol.wave.client.editor.EditorContext.focus()

    Point<ContentNode> point;
    if (selection != null) {
      point = selection.getFocus();
    } else {
      // Focus was probably lost.  Bring it back.
      context.focus(false);
      selection = context.getSelectionHelper().getSelectionPoints();
      if (selection != null) {
        point = selection.getFocus();
      } else {
        // Still no selection.  Oh well, put it at the end.
View Full Code Here

Examples of org.zkoss.zul.Combobox.focus()

        if (seld != null)
          displayHyperlink.setValue(seld.getLabel());
      }
    });
    addr.addEventListener(Events.ON_OK, onOkEventListener);
    addr.focus();
  }

  /**
   * Returns the string of web page address, return null if component not found
   * @return
 
View Full Code Here

Examples of org.zkoss.zul.Decimalbox.focus()

                        advanceMeasurement.setValue(value);
                        reloadAdvances();
                    }
                }
            });
            value.focus();
        }

        private void appendLabelPercentage(final Listitem listitem) {
            final AdvanceMeasurement advanceMeasurement = (AdvanceMeasurement) listitem
                    .getValue();
View Full Code Here

Examples of org.zkoss.zul.Textbox.focus()

    t.setWidth("98%");
    t.setMultiline(true);
    t.setRows(20);
    t.setParent(w);
    t.setValue(sb.toString());
    t.focus();
    w.doModal();
  }
  public void importFileName() throws SuspendNotAllowedException, InterruptedException {
    final Window w = new Window();
    w.setTitle("Import File Name");
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.