Examples of El


Examples of com.extjs.gxt.ui.client.core.El

    e.getStatus().setStatus(false);
    restoreTrackMouse = tree.isTrackMouseOver();
    tree.setTrackMouseOver(false);
    if (autoScroll) {
      if (scrollSupport == null) {
        El scroll = scrollElementId != null ? new El(DOM.getElementById(scrollElementId)) : tree.el();
        scrollSupport = new ScrollSupport(scroll);
      } else if (scrollSupport.getScrollElement() == null) {
        El scroll = scrollElementId != null ? new El(DOM.getElementById(scrollElementId)) : tree.el();
        scrollSupport.setScrollElement(scroll);
      }
      scrollSupport.start();
    }
  }
View Full Code Here

Examples of com.extjs.gxt.ui.client.core.El

   *
   * @param icon the icon
   */
  public void setIcon(AbstractImagePrototype icon) {
    if (rendered) {
      El oldIcon = buttonEl.selectNode("." + baseStyle + "-image");
      if (oldIcon != null) {
        oldIcon.remove();
        el().removeStyleName(baseStyle + "-text-icon", baseStyle + "-icon", baseStyle + "-noicon");
      }
      el().addStyleName(
          (icon != null ? (!Util.isEmptyString(text) ? " " + baseStyle + "-text-icon" : " " + baseStyle + "-icon")
              : " " + baseStyle + "-noicon"));
View Full Code Here

Examples of com.extjs.gxt.ui.client.core.El

  @Override
  protected void notifyShow() {
    super.notifyShow();
    if (icon != null) {
      El e = buttonEl.selectNode("." + baseStyle + "-image");
      if (e != null) {
        alignIcon(e.dom);
      }
    }
  }
View Full Code Here

Examples of com.extjs.gxt.ui.client.core.El

     * @param icon the icon
     */
    public void setIcon(AbstractImagePrototype icon) {
      this.icon = icon;
      if (rendered) {
        El node = el().selectNode(".x-tab-image");
        if (node != null) {
          node.remove();
        }
        if (icon != null) {
          Element e = icon.createElement().cast();
          e.setClassName("x-tab-image");
          el().appendChild(e);
View Full Code Here

Examples of com.extjs.gxt.ui.client.core.El

      if (proxyEl != null) {
        proxyEl.setVisible(false);
      }
    } else {
      if (proxyEl == null) {
        proxyEl = new El(createProxy());
      }
      Element body = RootPanel.getBodyElement();
      DOM.appendChild(body, proxyEl.dom);

      proxyEl.makePositionable(true);
View Full Code Here

Examples of com.extjs.gxt.ui.client.core.El

  }

  @Override
  public void setIcon(AbstractImagePrototype icon) {
    if (rendered) {
      El oldIcon = buttonEl.selectNode(".x-taskbutton-icon");
      if (oldIcon != null) {
        oldIcon.remove();
        buttonEl.setPadding(new Padding(7, 0, 7, 0));
      }
      if (icon != null) {
        buttonEl.setPadding(new Padding(7, 0, 7, 20));
        Element e = (Element) icon.createElement().cast();
View Full Code Here

Examples of com.extjs.gxt.ui.client.core.El

    shim.enableShim();
    shim.addStyleName("x-drag-overlay");
    shim.setSize(width, height);
    shim.setLeftTop(left, top);
    shim.update(" ");
    El parent = null;
    if (element != null) {
      parent = El.fly(element).getParent();
    }
    if (parent != null) {
      parent.appendChild(shim.dom);
    } else {
      XDOM.getBody().appendChild(shim.dom);
    }
    shim.show();
    if (element != null) {
View Full Code Here

Examples of com.extjs.gxt.ui.client.core.El

    }

    int each = (int) Math.max(Math.min(Math.floor((aw - 4) / count) - buttonMargin, buttonWidth), minButtonWidth);
    NodeList<com.google.gwt.dom.client.Element> btns = stripWrap.dom.getElementsByTagName("button");

    El b = items.get(0).el();
    lastButtonWidth = b.findParent("li", 5).getWidth();

    for (int i = 0, len = btns.getLength(); i < len; i++) {
      Element btn = btns.getItem(i).cast();

      int tw = items.get(i).el().getParent().dom.getOffsetWidth();
View Full Code Here

Examples of com.extjs.gxt.ui.client.core.El

      case Event.ONMOUSEWHEEL:
        if (enableScrolling) {
          scrollMenu(ce.getEvent().getMouseWheelVelocityY() < 0);
        }
    }
    El t = ce.getTargetEl();
    if (enableScrolling && t.is(".x-menu-scroller")) {
      switch (ce.getEventTypeInt()) {
        case Event.ONMOUSEOVER:
          // deactiveActiveItem();
          onScrollerIn(t);
          break;
View Full Code Here

Examples of com.extjs.gxt.ui.client.core.El

    public void onStart() {
      overflow = el.getStyleAttribute("overflow");
      marginTop = el.getStyleAttribute("marginTop");
      marginLeft = el.getStyleAttribute("marginLeft");

      wrapEl = new El(DOM.createDiv());
      oBounds = el.wrap(wrapEl.dom);

      int h = oBounds.height;
      int w = oBounds.width;
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.