Examples of removeAttribute()


Examples of com.google.gwt.dom.client.Element.removeAttribute()

        // Give each expanded child its own share
        for (Slot slot : widgetToSlot.values()) {

            Element slotElement = slot.getElement();
            slotElement.removeAttribute("aria-hidden");

            Style slotStyle = slotElement.getStyle();
            slotStyle.clearVisibility();
            slotStyle.clearMarginLeft();
            slotStyle.clearMarginTop();
View Full Code Here

Examples of com.google.gwt.dom.client.ImageElement.removeAttribute()

            nickName.setText(vcard.fullName());
          String photoData = vcard.photo();
          if(!photoData.isEmpty()&&!GXT.isIE)
          {
            ImageElement imgEl = avatarImg.getElement().cast();
            imgEl.removeAttribute("src");
            imgEl.setSrc("data:image;base64,"+photoData);
          }
         
        }
      }
View Full Code Here

Examples of com.google.gwt.dom.client.TableCellElement.removeAttribute()

    Element elem = getKeyboardSelectedElement();
    if (elem != null) {
      TableCellElement td = elem.getParentElement().cast();
      TableRowElement tr = td.getParentElement().cast();
      td.removeClassName(style.cellTableKeyboardSelectedCell());
      td.removeAttribute("aria-selected");
      setRowStyleName(tr, style.cellTableKeyboardSelectedRow(),
          style.cellTableKeyboardSelectedRowCell(), false);
    }
  }
View Full Code Here

Examples of com.google.gwt.user.client.Element.removeAttribute()

                VConsole.log("drag start listeners hooked.");
            }
        } else {
            dragStartElement = null;
            if (div.hasAttribute(DRAGGABLE)) {
                div.removeAttribute(DRAGGABLE);
            }
        }
    }

    protected Element getDragStartElement() {
View Full Code Here

Examples of com.ibm.richtext.textlayout.attributes.AttributeMap.removeAttribute()

        AttributeMap rhs = map;

        Enumeration iter = remove.elements();
        while (iter.hasMoreElements()) {
            Object attr = iter.nextElement();
            rhs = rhs.removeAttribute(attr);
        }

        if (!equalMaps(lhs, rhs)) {
            errln("Maps are not equal.");
        }
View Full Code Here

Examples of com.sencha.gxt.core.client.dom.XElement.removeAttribute()

        } else if (text.getTextAnchor() == TextAnchor.MIDDLE) {
          element.setAttribute("text-anchor", "middle");
        } else if (text.getTextAnchor() == TextAnchor.END) {
          element.setAttribute("text-anchor", "end");
        } else {
          element.removeAttribute("text-anchor");
        }
      }
      if (text.isXDirty()) {
        setAttribute(element, "x", text.getX());
      }
View Full Code Here

Examples of com.sun.xml.bind.util.AttributesImpl.removeAttribute()

        String value = a.getValue(idx);

        // mark the attribute as consumed
        // we need to remove the attribute before we process it
        // because the event handler might access attributes.
        a.removeAttribute(idx);
       
       
        getCurrentHandler().enterAttribute(uri,local,qname);
        consumeText(value,false);
        getCurrentHandler().leaveAttribute(uri,local,qname);
View Full Code Here

Examples of com.trolltech.qt.xml.QDomElement.removeAttribute()

      for (int i=enMediaCount-1; i>=0; i--) {
        QDomElement element = anchors.at(i).toElement();
        ArrayList<String> names = Global.invalidAttributes.get(element.nodeName().toLowerCase());
        if (names != null) { 
          for (int j=0; j<names.size(); j++) {
            element.removeAttribute(names.get(j));
          }
        }
      }
    }
View Full Code Here

Examples of com.volantis.mcs.dom.Element.removeAttribute()

        Document doc = domFactory.createDocument();
        doc.addNode(p);
        String expected = DOMUtilities.toString(doc);

        // the table to fix should not...
        table.removeAttribute("columns");

        transformer.fixTable(table);

        assertEquals(expected, DOMUtilities.toString(doc));
    }
View Full Code Here

Examples of de.innovationgate.webgate.api.WGDatabase.removeAttribute()

            // Update client restrictions
            if (databaseConfig.isClientRestrictionsEnabled()) {
              db.setAttribute(DBATTRIB_CLIENTRESTRICTIONS, IPv4Restriction.getRestrictions(databaseConfig.getClientRestrictions(), databaseConfig.getKey(), getLog()));
            } else {
                // if not enabled remove clientRestrictions from db
                db.removeAttribute(DBATTRIB_CLIENTRESTRICTIONS);
            }

            // Operations only for newly connected databases
            if (isNewDB) {
                performNewDBOperations(db);
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.