Examples of removeChild()


Examples of com.google.gdt.eclipse.designer.model.widgets.WidgetInfo.removeChild()

            && child instanceof LayoutDataInfo
            && isActiveOnContainer(parent.getParent())) {
          WidgetInfo widget = (WidgetInfo) parent;
          LayoutDataInfo existingLayoutData = getLayoutData(widget);
          if (existingLayoutData != null) {
            widget.removeChild(existingLayoutData);
          }
        }
      }
    });
    addBroadcastListener(new ObjectInfoChildAddAfter() {
View Full Code Here

Examples of com.google.gwt.dom.client.BodyElement.removeChild()

    try {
      body.appendChild(span);
      return getBoxSize(span);
    } finally {
      body.removeChild(span);
    }
  }

  public static boolean isVisible(Element element) {
    return !"none".equalsIgnoreCase(DOM.getComputedStyleAttribute(element,
View Full Code Here

Examples of com.google.gwt.dom.client.HeadElement.removeChild()

      final HeadElement he = HeadElement.as(Document.get().getElementsByTagName("head").getItem(0));
      exportHandler(new Command() {

        public void execute() {
          injectedLoader=true;
          he.removeChild(se);
          nativeLoad(libName, version, callback);
        }
      });
    
      he.appendChild(se);
View Full Code Here

Examples of com.google.gwt.dom.client.Node.removeChild()

     */

    public void apply(XPathContext context) throws XPathException {
        Node parent = targetNode.getParentElement();
        if (parent != null) {
            parent.removeChild(targetNode);
        }
    }

    /**
     * Get the target node of the update action
View Full Code Here

Examples of com.google.gwt.dom.client.TableRowElement.removeChild()

            if ( cell.getRowSpan() > 0 ) {
                Coordinate hc = cell.getHtmlCoordinate();
                TableRowElement tre = tbody.getRows().getItem( hc.getRow() );
                TableCellElement tce = tre.getCells().getItem( hc.getCol() );
                tre.removeChild( tce );
            }
        }
    }

    @Override
View Full Code Here

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

                    resetCellWrapperDivsDisplayProperty(row);
                    row.removeStyleName("v-table-row-animating");
                }
                Element tableBodyParent = (Element) getElement()
                        .getParentElement();
                tableBodyParent.removeChild(cloneDiv);
            }

            private void setCellWrapperDivsToDisplayNone(VScrollTableRow row) {
                Element tr = row.getElement();
                for (int ix = 0; ix < tr.getChildCount(); ix++) {
View Full Code Here

Examples of com.google.javascript.rhino.Node.removeChild()

    // Fix up the AST, replace or remove the an unused node (if requested).
    if (n != result) {
      Node parent = n.getParent();
      if (result == null) {
        if (removeUnused) {
          parent.removeChild(n);
        } else {
          result = IR.empty().srcref(n);
          parent.replaceChild(n, result);
        }
      } else {
View Full Code Here

Examples of com.google.template.soy.soytree.SoyNode.BlockNode.removeChild()

  @Override protected void visitCssNode(CssNode node) {

    // Remove this CssNode. Save the index because we'll need it for inserting the new nodes.
    BlockNode parent = node.getParent();
    int indexInParent = parent.getChildIndex(node);
    parent.removeChild(indexInParent);

    // If this CssNode has componentName, add a PrintNode (with '|id' directive) to print it.
    ExprRootNode<?> componentNameExpr = node.getComponentNameExpr();
    if (componentNameExpr != null) {
      PrintNode pn =
View Full Code Here

Examples of com.gwtext.client.data.Node.removeChild()

    protected void onPropertyDeleted(EntityData entity) {
        TreeNode propNode = findTreeNode(entity.getName());
        if (propNode != null) {
            Node parentNode = propNode.getParentNode();
            if (parentNode != null) {
                parentNode.removeChild(propNode);
            }
            else {
                propNode.remove();
            }
        }
View Full Code Here

Examples of com.gwtext.client.widgets.tree.TreeNode.removeChild()

    if ( folderList != null ) {
      TreeNode rootNode = this.treePanel.getRootNode();
      Node[] children = rootNode.getChildNodes();
      if ( children != null ) {
        for (Node child : children) {
          rootNode.removeChild( child );
        }
      }
      for (ContactFolder contactFolder : folderList) {
        addContactFolder( contactFolder );
      }
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.