Examples of removeChild()


Examples of de.ailis.jollada.model.Node.removeChild()

        assertFalse(adapter.insertedIntoDoc);
        assertTrue(adapter.removed);
        assertFalse(adapter.removedFromDoc);
        adapter.reset();

        parent2.removeChild(node);
        assertFalse(adapter.inserted);
        assertFalse(adapter.insertedIntoDoc);
        assertTrue(adapter.removed);
        assertTrue(adapter.removedFromDoc);
    }
View Full Code Here

Examples of de.sosd.mediaserver.domain.db.DidlDomain.removeChild()

    DidlDomain parent;
    if (item.getParent() != null) {
      parent = map.getDidl(item.getParent().getId());
      // remove child
      final FileDomain file = item.getFile();
      changed = parent.removeChild(item);     
      didlDao.store(parent);
//      item.setFile(null);
//      item.setParent(null);
//      item.setReference(null);
//      for (DidlDomain ref : item.getReferences()) {
View Full Code Here

Examples of edu.stanford.nlp.trees.Tree.removeChild()

        Tree nodeToDelete = child.evaluate(tree, tregex);
        if (nodeToDelete == tree) {
          result = null;
        }
        Tree parent = nodeToDelete.parent(tree);
        parent.removeChild(Trees.objectEqualityIndexOf(parent,nodeToDelete));
      }
      return result;
    }
  }
View Full Code Here

Examples of edu.umd.cs.piccolo.PNode.removeChild()

    PShadow shadowNode = new PShadow(contentNode.toImage(), SHADOW_PAINT, blurRadius );   
    contentNode.setOffset(tx, ty);
    shadowNode.setOffset(tx - (2 * blurRadius) + 1.0d, ty - (2 * blurRadius) + 1.0d)
    contentNodeWithShadow.addChild(shadowNode);
    contentNodeWithShadow.addChild(contentNode);         
    contentNodeWithShadow.removeChild(shadowNode);
    contentNodeWithShadow.setOffset(xoffset - tx  - blurRadius, yoffset - ty - blurRadius);
    contentNodeWithShadow.setBounds(0,0, contentNode.getWidth() + 2*blurRadius + tx, contentNode.getHeight() + 2*blurRadius + ty);
    return contentNodeWithShadow;
  }
}
View Full Code Here

Examples of eu.scape_project.planning.model.kbrowser.CriteriaNode.removeChild()

    public void removeNode(Object nodeToRemove) {
        CriteriaTreeNode node = (CriteriaTreeNode) nodeToRemove;
        // only remove the node if it is not the root node
        if (node.getParent() != null) {
            CriteriaNode parentNode = (CriteriaNode) node.getParent();
            parentNode.removeChild(node);
        }
    }

    /**
     * Method responsible for indicating if a given part of the tree should be
View Full Code Here

Examples of hidb2.gui.node.DefaultNode.removeChild()

          fd.write(Application.getDataStore());

          DefaultNode p = on.getParent();
         
          p.removeChild(on);

          // Update the tree view
          if (iwp instanceof DBStructView)
            {
            ((DBStructView) iwp).getTree().refresh(p, true);
View Full Code Here

Examples of javax.media.j3d.BranchGroup.removeChild()

    }

    public void removeChild(Shape3D child) {
        BranchGroup childParent = (BranchGroup) child.getParent();
        root.removeChild(childParent);
        childParent.removeChild(child);
    }

    private void addNavigators(BranchGroup root) {
        KeyNavigatorBehavior navigator = createKeyboardNavigator(viewTransform);
        root.addChild(navigator);
View Full Code Here

Examples of javax.media.j3d.Group.removeChild()

    }
   
    public void removeChild(Node n) {
        Group g=(Group)getGraphObject();
        boolean forced=forceCapability(Group.ALLOW_CHILDREN_WRITE);
        g.removeChild(n);
        if(forced) restoreCapability(Group.ALLOW_CHILDREN_WRITE);
    }
   
    static class AddTransformGroupAction extends AbstractNodeAction {
        // required for dynamic action creation
View Full Code Here

Examples of javax.media.j3d.TransformGroup.removeChild()

        case MovePath.STEP_UP:
            trans.rotX(Math.PI/2);
            break;

        case MovePath.STEP_LOAD:
            tg.removeChild(anim);
            label = Messages.getString("BoardView1.Load"); //$NON-NLS-1$
            if (step.isPastDanger()) {
                label = "(" + label + ")"; //$NON-NLS-1$ //$NON-NLS-2$
            }
            break;
View Full Code Here

Examples of javax.xml.soap.SOAPBody.removeChild()

                    Document doc = body.getOwnerDocument();
                    // build the SOAP response for this message
                    //
                    Node wrapper = doc.createElementNS(namespace, "pingResponse");
                    wrapper.setPrefix("ns4");
                    body.removeChild(body.getFirstChild());
                    body.appendChild(wrapper);

                    for (String info : getHandlerInfoList(ctx)) {
                        // copy the the previously invoked handler list into the response. 
                        // Ignore this handlers information as it will be added again later.
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.