Examples of removeComponent()


Examples of org.jdesktop.mtgame.Entity.removeComponent()

            Logger.getAnonymousLogger().warning("VIEW NOT ATTACHED TO A CELL (BUT CONTINUE ANYWAY)");
            return;
        }

        Entity entity = ((CellRendererJME) attachCell.getCellRenderer(RendererType.RENDERER_JME)).getEntity();
        entity.removeComponent(ViewControls.class);

        CellRendererJME renderer = (CellRendererJME) attachCell.getCellRenderer(Cell.RendererType.RENDERER_JME);
        if (renderer != null) {
//            if (renderer instanceof ViewControls.AvatarInputSelector) {
//                ((ViewControls.AvatarInputSelector)renderer).selectForInput(false);
View Full Code Here

Examples of org.jdesktop.mtgame.Entity.removeComponent()

                    avatarControls.removeFromChain(moveProc);
                }
            }
        }

        entity.removeComponent(ViewControls.class);
        avatarControls.setEnabled(false);
        avatarControls = null;
        attachCell.removeTransformChangeListener(listener);
        attachCell = null;
    }
View Full Code Here

Examples of org.jdesktop.wonderland.client.hud.HUD.removeComponent()

    public void removeDialogs() {
        HUD mainHUD = HUDManagerFactory.getHUDManager().getHUD("main");
       
        if (vuMeterComponent != null) {
            vuMeterComponent.setVisible(false);
            mainHUD.removeComponent(vuMeterComponent);
            vuMeterComponent = null;
        }

        if (vuMeterMiniComponent != null) {
            vuMeterMiniComponent.setVisible(false);
View Full Code Here

Examples of org.picocontainer.MutablePicoContainer.removeComponent()

        MutablePicoContainer container = getDelegate();

        try {
            // Remove the component if an instance of it was already registered
            container.removeComponent(toInjectInto.getClass());

            // Add the given instance to the container
            container.addComponent(toInjectInto.getClass(), toInjectInto);

            /*
 
View Full Code Here

Examples of org.terasology.entitySystem.entity.EntityRef.removeComponent()

    }

    @Test
    public void testDeltaLoadRemovedComponent() throws Exception {
        EntityRef entity = entityManager.create("test:Test");
        entity.removeComponent(StringComponent.class);
        EntityData.Entity entityData = entitySerializer.serialize(entity);
        entityManager.clear();
        EntityRef loadedEntity = entitySerializer.deserialize(entityData);

        assertTrue(loadedEntity.exists());
View Full Code Here

Examples of org.zkoss.zk.ui.sys.DesktopCtrl.removeComponent()

           parent.incNChild(-1);

          final String s = ((HtmlNativeComponent)n).getFullContent();
           _postfix = _postfix != null ? _postfix + s: s;
          if (desktopCtrl != null)
            desktopCtrl.removeComponent(n, false); //ok but no need to recycle
          return this;
         }
         if (getFirstChild() == null) {
           //remove this
           final AbstractComponent p = (AbstractComponent)getPreviousSibling();
View Full Code Here

Examples of org.zkoss.zk.ui.sys.DesktopCtrl.removeComponent()

           final String s = getFullContent(),
             prefix = ((HtmlNativeComponent)n)._prefix;
           ((HtmlNativeComponent)n)._prefix = prefix != null ? s + prefix: s;
          if (desktopCtrl != null)
            desktopCtrl.removeComponent(this, false); //ok but no need to recycle
          return n;
         }
      }
    }
    return null;
View Full Code Here

Examples of org.zkoss.zk.ui.sys.DesktopCtrl.removeComponent()

          bEpilog = true;
        } else { //childWithChild
          _prolog = nc.getFullContent() + _prolog;
        }
        if (desktopCtrl != null)
          desktopCtrl.removeComponent(nc, false); //ok but no need to recycle
      }
      if (childWithChild == null) {
        nChild(null, null, 0);
      } else {
        nChild(
View Full Code Here

Examples of org.zkoss.zk.ui.sys.DesktopCtrl.removeComponent()

      if (comp._parent == null)
        ((AbstractPage)_page).onReplaced(this, comp);
        //call onReplaced instead addRoot/removeRoot

      final DesktopCtrl desktopCtrl = (DesktopCtrl)_page.getDesktop();
      desktopCtrl.removeComponent(this, false);
      desktopCtrl.addComponent(comp);
      _page = null;
    }

    //add comp to the fellow map
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.