Examples of css()


Examples of calabash_jvm.QueryBuilder.css()

        screenshot(null);

        scroll(q,"down");

        waitForExists(q.css("a"), null);

        touch(q, null);
        screenshot(null);

        System.exit(0);
View Full Code Here

Examples of com.allen_sauer.gwt.dnd.client.util.DragClientBundle.css()

        mock(DragClientBundle.class); // call to trigger class loading
        DragClientBundle clientBundle = bridge
                .getCreatedMock(DragClientBundle.class);
        if (clientBundle != null) {
            DragCssResource cssResource = mock(DragClientBundle.DragCssResource.class);
            when(clientBundle.css()).thenReturn(cssResource);
        }
    }

    private DndTestHelpers() {
View Full Code Here

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

    if (ce == null) {
      return;
    }

    containment = impl.calculateContainment(this, $containement.offset(), ce,
        (!"hidden".equals($containement.css("overflow"))));

  }

  private Offset calculateParentOffset(Element element) {
    Offset position = helperOffsetParent.offset();
View Full Code Here

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

    //String oldZIndex = $element.css(ZINDEX_CSS);
    String oldZIndex = getZIndex($element.get(0).getStyle());
    if (oldZIndex != null) {
      $element.data(OLD_ZINDEX_KEY, oldZIndex);
    }
    $element.css(ZINDEX_CSS, handler.getOptions().getZIndex().toString());

  }

  public void onStop(DraggableHandler handler, DragContext ctx, GqEvent e) {
    //helper can be null if the draggableElement was unloaded and after loaded
View Full Code Here

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

    GQuery $element = (handler.getOptions().getHelperType() == HelperType.ORIGINAL) ? handler.getHelper() : $(ctx.getDraggable());
    if ($element == null || $element.length() == 0) {
      return;
    }
    String oldZIndex = $element.data(OLD_ZINDEX_KEY, String.class);
    $element.css(ZINDEX_CSS, oldZIndex);
  }

  /**
   * Force the zIndex property to be a String object
   * Under IE, the zIndex property is returned as an Integer
View Full Code Here

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

    GQuery $helper = handler.getHelper();

    double oldOpacity = $helper.cur(OPACITY_CSS_KEY, true);
    $helper.data(OLD_OPACITY_KEY, new Double(oldOpacity));

    $helper.css(OPACITY_CSS_KEY, opacity.toString());

  }

  public void onStop(DraggableHandler handler, DragContext ctx, GqEvent e) {
    GQuery $element = (handler.getOptions().getHelperType() == HelperType.ORIGINAL) ? handler.getHelper() : $(ctx.getDraggable());
View Full Code Here

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

    if ($element.data(OLD_OPACITY_KEY) == null) {
      return;
    }
    Double oldOpacity = $element.data(OLD_OPACITY_KEY, Double.class);
    $element.css(OPACITY_CSS_KEY, oldOpacity != null ? String.valueOf(oldOpacity) : "");
    $element.removeData(OLD_OPACITY_KEY);

  }

}
View Full Code Here

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

                      GqEvent e) {

    if (ctx.getInitialDraggable() == ctx.getDraggable() && !isStarting) {
      isStarting = true;
      GQuery $body = $(body);
      String oldCursor = $body.css(CURSOR_CSS);
      if (oldCursor != null) {
        $body.data(OLD_CURSOR_KEY, oldCursor);
      }
      $body.css(CURSOR_CSS, handler.getOptions().getCursor().getCssName());
    }
View Full Code Here

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

      GQuery $body = $(body);
      String oldCursor = $body.css(CURSOR_CSS);
      if (oldCursor != null) {
        $body.data(OLD_CURSOR_KEY, oldCursor);
      }
      $body.css(CURSOR_CSS, handler.getOptions().getCursor().getCssName());
    }

  }

  public void onStop(DraggableHandler handler, DragContext ctx, GqEvent e) {
View Full Code Here

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

    if (ctx.getInitialDraggable() != ctx.getDraggable()) {
      return;
    }
    GQuery $body = $(body);
    String oldCursor = $body.data(OLD_CURSOR_KEY, String.class);
    $body.css(CURSOR_CSS, oldCursor);
    isStarting = false;
  }

}
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.