Examples of removeFromParent()


Examples of com.ardor3d.extension.effect.particle.ParticleSystem.removeFromParent()

        example.getRoot().updateWorldTransform(true);

        explosion.getParticleController().addListener(new ParticleControllerListener() {
            @Override
            public void onDead(final ParticleSystem particles) {
                explosion.removeFromParent();
            }
        });
        explosion.forceRespawn();

        final BlendState blend = new BlendState();
View Full Code Here

Examples of com.ardor3d.scenegraph.Mesh.removeFromParent()

                showMerged = !showMerged;
                if (showMerged) {
                    origNode.removeFromParent();
                    scene.attachChild(merged);
                } else {
                    merged.removeFromParent();
                    scene.attachChild(origNode);
                }
                updateMergedLabel();
            }
        }));
View Full Code Here

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

  @Override
  protected void onRemove(Component component) {
    super.onRemove(component);
    El elem = findItemElement(component);
    if (elem != null) {
      elem.removeFromParent();
    }
  }

  @SuppressWarnings("unused")
  @Override
View Full Code Here

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

    regionRole.removeTabindexExtraAttribute(anchor);
    // Some versions of IE default to "0" instead of ""
    assertTrue("".equals(regionRole.getTabindexExtraAttribute(div))
        || "0".equals(regionRole.getTabindexExtraAttribute(div)));

    anchor.removeFromParent();
  }

  @Override
  public String getModuleName() {
    return "com.google.gwt.aria.Aria";
View Full Code Here

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

      last = last.getPreviousSibling();
    }
    if (last == null || DomHelper.isElement(last)) {
      paragraph.appendChild(spacer);
    } else {
      spacer.removeFromParent();
    }
  }
}
View Full Code Here

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

    Node first = paragraph.getFirstChild();
    BRElement spacer = getSpacer(paragraph);
    if (first == null) {
      appendSpacer(paragraph);
    } else if (first != spacer) {
      spacer.removeFromParent();
    }
  }

  /**
   * {@inheritDoc}
 
View Full Code Here

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

      spacer = isSpacer(last) ? last.<BRElement>cast() : Document.get().createBRElement();
      setupSpacer(paragraph, spacer);
    } else if (isSpacer(last) && last != spacer) {
      // The browser put a different one in by itself, so let's use that one
      if (spacer.hasParentElement()) {
        spacer.removeFromParent();
      }
      spacer = last.<BRElement>cast();
      setupSpacer(paragraph, spacer);
    }
    return spacer;
View Full Code Here

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

  }

  public void testFieldGettersDetachedRoot() {
    // Detach root
    DivElement root = renderer.getRoot(docDiv);
    root.removeFromParent();

    // Getting the root element is still fine
    DivElement rootAgain = renderer.getRoot(root);
    assertEquals(root, rootAgain);
View Full Code Here

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

        // remove gwt extra divs and place shell nodes directly into the document body,
        // (and hope for the best about xbrowser compatibility..)
        shell.getElement().setId("shell");
        final Element shellElement = Document.get().getElementById("shell");
        shellElement.removeFromParent();
        Document.get().getElementById("rootPanel").removeFromParent();

        Element shellChildElement = shellElement.getFirstChildElement();
        while (shellChildElement != null) {
            shellChildElement.removeFromParent();
View Full Code Here

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

        shellElement.removeFromParent();
        Document.get().getElementById("rootPanel").removeFromParent();

        Element shellChildElement = shellElement.getFirstChildElement();
        while (shellChildElement != null) {
            shellChildElement.removeFromParent();
            Document.get().getBody().appendChild(shellChildElement);
            shellChildElement = shellElement.getFirstChildElement();
        }

    }
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.