Examples of removeFromParent()


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

          overElement = null;
        }

        getSelectionModel().deselect(index);

        e.removeFromParent();
        all.remove(index);
        updateIndexes(index, -1);
      }
    }
  }
View Full Code Here

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

      bufferRender(list, sb);

      DomHelper.insertBefore(original, sb.toSafeHtml().asString());

      all.replaceElement(original, Element.as(original.getPreviousSibling()));
      original.removeFromParent();

    }
    sm.onRowUpdated(model);
  }
View Full Code Here

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

   * @param row the row index
   */
  protected void removeRow(int row) {
    Element r = getRow(row);
    if (r != null) {
      r.removeFromParent();
    }
  }

  /**
   * Renders the footer.
View Full Code Here

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

      if (stack != null) {
        stack.remove(child);
      }

      Element item = findItem(idx);
      item.removeFromParent();

      if (child == activeWidget) {
        Widget next = stack != null ? stack.next() : null;
        if (next != null) {
          setActiveWidget(next);
View Full Code Here

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

      if (stack != null) {
        stack.remove(child);
      }

      Element item = findItem(idx);
      item.removeFromParent();

      if (child == activeWidget) {
        Widget next = stack != null ? stack.next() : null;
        if (next != null) {
          setActiveWidget(next);
View Full Code Here

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

    Element div = DOM.createDiv();
    div.setInnerHTML(html);
    Element firstChild = div.getFirstChildElement();
    // support text node creation
    if (firstChild != null) {
      firstChild.removeFromParent();
    }
    return ((firstChild != null) ? firstChild : div).cast();
  }

  /**
 
View Full Code Here

Examples of com.google.gwt.dom.client.FormElement.removeFromParent()

        exportDialogFunctions(popup);
        popup.addCloseHandler(new CloseHandler<PopupPanel>() {

            public void onClose(CloseEvent<PopupPanel> event) {

                formElement.removeFromParent();
                removeExportedFunctions();
            }
        });
        if (closeHandler != null) {
            popup.addCloseHandler(closeHandler);
View Full Code Here

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

          } else {
            element = (Element)document.getElementsByTagName(localName.toUpperCase()).getItem(0);
            NodeList<Node> nodes = element.getChildNodes();
            for (int n = 0; n < nodes.getLength(); n++) {
              Node node = nodes.getItem(n);
              node.removeFromParent();
            }
          }
          currentNode = element;
          level++;
          return;
View Full Code Here

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

      if (nodelet == null || nodelet == nodeletAfter) {
        break;
      }

      if (nodelet.getParentElement() != null) {
        nodelet.removeFromParent();
      }
    }

    for (ContentNode node = first; node != last; node = renderedView.getNextSibling(node)) {
      parentNodelet.insertBefore(node.getImplNodelet(), nodeletAfter);
View Full Code Here

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

            new OffsetPosition(SPAN.getOffsetLeft(), SPAN.getOffsetTop(), SPAN.getOffsetParent());

        return ret;
      } finally {
        SPAN.removeFromParent();
        txt.removeFromParent();
        mutationListener.endTransientMutations();
      }
    } else {
      Element e = focusNode.cast();
      return new OffsetPosition(e.getOffsetLeft(), e.getOffsetTop(), e.getOffsetParent());
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.