Examples of removeStyleName()


Examples of com.extjs.gxt.ui.client.core.El.removeStyleName()

  }

  protected void deactivate() {
    El li = el().getParent();
    if (li != null) {
      li.removeStyleName(activeStyle);
    }
    MenuEvent me = new MenuEvent(parentMenu);
    me.setItem(this);
    fireEvent(Events.Deactivate, me);
  }
View Full Code Here

Examples of com.extjs.gxt.ui.client.core.El.removeStyleName()

  @Override
  protected void onEnable() {
    super.onEnable();
    El li = el().getParent();
    if (li != null) {
      li.removeStyleName(disabledStyle);
    }
  }

  protected boolean shouldDeactivate(ComponentEvent ce) {
    return true;
View Full Code Here

Examples of com.extjs.gxt.ui.client.core.El.removeStyleName()

    if (!rendered) {
      this.textStyle = textStyle;
    } else {
      El elem = el().selectNode("." + list.itemStyle + "-text");
      if (this.textStyle != null) {
        elem.removeStyleName(this.textStyle);
      }
      this.textStyle = textStyle;
      elem.addStyleName(textStyle);
    }
  }
View Full Code Here

Examples of com.extjs.gxt.ui.client.core.El.removeStyleName()

      }
    }

    for (int i = 0; i < elements.getLength(); i++) {
      El el = El.fly(elements.getItem(i));
      el.removeStyleName("x-color-palette-sel");
      el.removeStyleName("x-color-palette-hover");
    }

    if (!color.equals(value) || allowReselect) {
      El a = el().child("a.color-" + color);
View Full Code Here

Examples of com.extjs.gxt.ui.client.core.El.removeStyleName()

    }

    for (int i = 0; i < elements.getLength(); i++) {
      El el = El.fly(elements.getItem(i));
      el.removeStyleName("x-color-palette-sel");
      el.removeStyleName("x-color-palette-hover");
    }

    if (!color.equals(value) || allowReselect) {
      El a = el().child("a.color-" + color);
      a.addStyleName("x-color-palette-sel");
View Full Code Here

Examples of com.extjs.gxt.ui.client.core.El.removeStyleName()

  }

  protected void onMouseOut(ComponentEvent ce) {
    El target = ce.getTarget("a", 3);
    if (target != null) {
      target.removeStyleName("x-color-palette-hover");
    }
  }

  protected void onMouseOver(ComponentEvent ce) {
    El target = ce.getTarget("a", 3);
View Full Code Here

Examples of com.extjs.gxt.ui.client.core.El.removeStyleName()

    }
    if (target == null) {
      target = ce.getTarget("td.x-date-mp-year", 3);
    }
    if (target != null) {
      target.removeStyleName("x-date-active-hover");
    }

  }

  private void onMouseOver(ComponentEvent ce) {
View Full Code Here

Examples of com.extjs.gxt.ui.client.core.El.removeStyleName()

   */
  public void removeInputStyleName(String style) {
    if (rendered) {
      El inputEl = getInputEl();
      if (inputEl != null) {
        inputEl.removeStyleName(style);
      }
    } else if (inputStyle != null && style != null) {
      String[] s = inputStyle.split(" ");
      inputStyle = "";
      for (int i = 0; i < s.length; i++) {
View Full Code Here

Examples of com.extjs.gxt.ui.client.core.El.removeStyleName()

   */
  public void toggleSummaries(boolean visible) {
    El el = grid.el();
    if (el != null) {
      if (visible) {
        el.removeStyleName("x-grid-hide-summary");
      } else {
        el.addStyleName("x-grid-hide-summary");
      }
    }
  }
View Full Code Here

Examples of com.extjs.gxt.ui.client.core.El.removeStyleName()

  public void setIcon(String iconStyle) {
    this.icon = iconStyle;
    if (iconEl != null) {
      El el = El.fly(iconEl);
      if (iconStyle != null) {
        el.removeStyleName("x-hidden");
        el.replaceStyleName(this.icon, iconStyle);
      } else {
        el.replaceStyleName(this.icon, "x-hidden");
        icon = "";
      }
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.