Examples of detachChild()


Examples of com.jme3.scene.Node.detachChild()

    @Override
    protected void controlUpdate(float tpf) {
        if(myShape != body.getCollisionShape()){
            Node node = (Node) this.spatial;
            node.detachChild(geom);
            geom = DebugShapeFactory.getDebugShape(body.getCollisionShape());
            node.attachChild(geom);
        }
        if(body.isActive()){
            geom.setMaterial(debugAppState.DEBUG_MAGENTA);
View Full Code Here

Examples of com.jme3.scene.Node.detachChild()

        // }

        Material mat = g.getMaterial();

        if (parent != null) {
            parent.detachChild(g);

            g = cubicalMarchingSquares(data, true, true);
            g.setMaterial(mat);

            parent.attachChild(g);
View Full Code Here

Examples of org.jdesktop.wonderland.modules.appbase.client.view.GeometryNode.detachChild()

        ClientContextJME.getWorldManager().addRenderUpdater(new RenderUpdater() {
            public void update(Object arg0) {
                if (visible) {
                    geomNode.attachChild(nodeZTrans);
                } else {
                    geomNode.detachChild(nodeZTrans);
                }
                ClientContextJME.getWorldManager().addToUpdateList(geomNode);
            }
        }, null, false);
View Full Code Here

Examples of org.jibx.schema.elements.ElementElement.detachChild()

                    QName ref = elem.getRef();
                    if (ref == null) {
                       
                        // definition, just delete all content
                        for (int i = 0; i < elem.getChildCount(); i++) {
                            elem.detachChild(i);
                        }
                        elem.compactChildren();
                       
                    } else {
                       
View Full Code Here

Examples of org.jibx.schema.elements.SchemaElement.detachChild()

                    // apply extension to global definition element
                    ComponentExtension exten = (ComponentExtension)obj;
                    if (exten.isRemoved()) {
                       
                        // just eliminate this definition from the schema
                        schema.detachChild(i);
                        instmod = true;
                       
                    } else {
                       
                        // process the definition to remove references to deleted components
View Full Code Here

Examples of org.jibx.schema.elements.SchemaElement.detachChild()

                        GlobalExtension global = (GlobalExtension)obj;
                        global.normalize();
                        if (global.isRemoved()) {
                           
                            // just eliminate this definition from the schema
                            schema.detachChild(i);
                            instmod = true;
                           
                        }
                    }
                }
View Full Code Here

Examples of org.jibx.schema.elements.SchemaElement.detachChild()

                SchemaBase child = schema.getChild(i);
                Object exten = child.getExtension();
                if (exten instanceof GlobalExtension && ((ComponentExtension)exten).isRemoved()) {
                   
                    // remove the definition from schema
                    schema.detachChild(i);
                    modified = true;
                    if (s_logger.isDebugEnabled()) {
                        s_logger.debug(" Removed definition " + ((INamed)child).getQName());
                    }
                   
View Full Code Here

Examples of org.jibx.schema.elements.SchemaElement.detachChild()

                    // apply extension to global definition element
                    ComponentExtension exten = (ComponentExtension)obj;
                    if (exten.isRemoved()) {
                       
                        // just eliminate this definition from the schema
                        schema.detachChild(i);
                        instmod = true;
                       
                    } else {
                       
                        // process the definition to remove references to deleted components
View Full Code Here

Examples of org.jibx.schema.elements.SchemaElement.detachChild()

                        global.normalize();
                        if (global.isRemoved() ||
                            (!global.isIncluded() && global.isPreferInline() && global.getOverrideType() != null)) {
                           
                            // just eliminate this definition from the schema
                            schema.detachChild(i);
                            instmod = true;
                           
                        }
                    }
                }
View Full Code Here

Examples of org.jibx.schema.elements.SchemaElement.detachChild()

                SchemaBase child = schema.getChild(i);
                Object exten = child.getExtension();
                if (exten instanceof GlobalExtension && ((ComponentExtension)exten).isRemoved()) {
                   
                    // remove the definition from schema
                    schema.detachChild(i);
                    modified = true;
                    if (s_logger.isDebugEnabled()) {
                        s_logger.debug(" Removed definition " + ((INamed)child).getQName());
                    }
                   
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.