Examples of css()


Examples of com.google.gwt.query.client.GQuery.css()

    }
    double winnerPos = row * (double) trackWidth / (double) ds.length;
    for (int i = 0; i < b.length; i++) {
      GQuery g = $("#" + b[i].getId() + "horse");
      double pos =   winnerPos * winnerTime / totalTimes[i];
      g.css("left", (int)pos + "px");
    }
  }

  private Benchmark[] readBenchmarkSelection() {
    ArrayList<Benchmark> bs = new ArrayList<Benchmark>();
View Full Code Here

Examples of com.psddev.dari.util.HtmlWriter.css()

        @SuppressWarnings("all")
        HtmlWriter writer = new HtmlWriter(out);

        writer.start("style", "type", "text/css");
            writer.css(".cms-textAlign-left", "text-align", "left");
            writer.css(".cms-textAlign-center", "text-align", "center");
            writer.css(".cms-textAlign-right", "text-align", "right");

            for (CmsTool.CssClassGroup group : getTextCssClassGroups()) {
                String groupName = group.getInternalName();
View Full Code Here

Examples of com.vaadin.client.debug.internal.theme.DebugWindowStyles.css()

                GWT.runAsync(new RunAsyncCallback() {
                    @Override
                    public void onSuccess() {
                        DebugWindowStyles dws = GWT
                                .create(DebugWindowStyles.class);
                        dws.css().ensureInjected();
                    }

                    @Override
                    public void onFailure(Throwable reason) {
                        Window.alert("Failed to load Vaadin debug window styles");
View Full Code Here

Examples of org.jtester.core.testng.UserTestReporter.Status.css()

      buff.append(method.getMethodName());
      buff.append("<br/>");
      buff.append(method.getClazzName());
      buff.append("</td>");
      Status status = method.getStatus();
      buff.append(String.format("<td class='%s'>%s</td>", status.css(), status.name()));
      buff.append(String.format("<td class='%s'>%d ms</td>", method.getSpeedCss(), method.getDuration()));
      buff.append("<td style='text-align:left;'>").append(method.getGroups()).append("</td>");
      buff.append("</tr>\n");
    }
View Full Code Here

Examples of org.zkoss.test.JQuery.css()

  public void column_font_color() {
    mouseDirector.openColumnContextMenu(5);
   
    click(".zsstylepanel .zstbtn-fontColor .zstbtn-cave");
    JQuery target = jqFactory.create("'.z-colorpalette-colorbox'").eq(68);
    String color = target.css("background-color");
    click(target);
   
    verifyFontColor(new Color(color), 5, 5, 20, 5);
  }
 
View Full Code Here

Examples of org.zkoss.test.JQuery.css()

  public void column_fill_color() {
    mouseDirector.openColumnContextMenu(5);
   
    click(".zsstylepanel .zstbtn-fillColor .zstbtn-cave");
    JQuery target = jqFactory.create("'.z-colorpalette-colorbox'").eq(68);
    String color = target.css("background-color");
    click(target);
   
    verifyFillColor(new Color(color), 5, 5, 20, 5);
  }
 
View Full Code Here

Examples of org.zkoss.test.JQuery.css()

  public void row_font_color() {
    mouseDirector.openRowContextMenu(12);
   
    click(".zsstylepanel .zstbtn-fontColor .zstbtn-cave");
    JQuery target = jqFactory.create("'.z-colorpalette-colorbox'").eq(68);
    String color = target.css("background-color");
    click(target);
   
    verifyFontColor(new Color(color), 12, 5, 12, 9);
  }
 
View Full Code Here

Examples of org.zkoss.test.JQuery.css()

  public void row_fill_color() {
    mouseDirector.openRowContextMenu(12);
   
    click(".zsstylepanel .zstbtn-fillColor .zstbtn-cave");
    JQuery target = jqFactory.create("'.z-colorpalette-colorbox'").eq(68);
    String color = target.css("background-color");
    click(target);
   
    verifyFillColor(new Color(color), 12, 5, 12, 9);
  }
 
View Full Code Here

Examples of org.zkoss.test.JQuery.css()

    int rCol = 9;
    spreadsheet.setSelection(tRow, lCol, bRow, rCol);
    click(".zstbtn-fontColor .zstbtn-cave");
   
    JQuery target = jqFactory.create("'.z-colorpalette-colorbox'").eq(68);
    String color = target.css("background-color");
    click(target);
   
    verifyFontColor(new Color(color), tRow, lCol, bRow, rCol);
  }
}
View Full Code Here

Examples of org.zkoss.test.JQuery.css()

    int rCol = 9;
    spreadsheet.setSelection(tRow, lCol, bRow, rCol);
    click(".zstbtn-fillColor .zstbtn-cave");
   
    JQuery target = jqFactory.create("'.z-colorpalette-colorbox'").eq(68);
    String color = target.css("background-color");
    click(target);
   
    verifyFillColor(new Color(color), tRow, lCol, bRow, rCol);
  }
}
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.