Package org.jdesktop.wonderland.client.cell

Examples of org.jdesktop.wonderland.client.cell.MovableComponent


        // Add the listeners to the avatar Cell and set the avatar character
        if (status == CellStatus.ACTIVE && increasing == true) {
            BoundsDebugger.getInstance().add(this);
            if (cellMoveListener != null) {
                // mc should not be null, but sometimes it seems to be
                MovableComponent mc = cell.getComponent(MovableComponent.class);
                if (mc==null) {
                    logger.severe("NULL MovableComponent in avatar "+((AvatarCell)cell).getName());
                } else {
                    mc.removeServerCellMoveListener(cellMoveListener);
                }
                cellMoveListener = null;
            }

            // If we have not creating the avatar yet, then look for the config
View Full Code Here


                               setup,
                               cellName);
            repaint();
           
            // add a move listener
            MovableComponent mc = ret.getComponent(MovableComponent.class);
            if (mc != null) {
                mc.addServerCellMoveListener(this);
            }
           
           
            return ret;
        }
View Full Code Here

                    // TODO, check this is the local avatar
                    CellClientSession s = (CellClientSession)getCellCache().getSession();
                    if (s.getCellCacheConnection().getViewCellID().equals(getCellID()))
                        s.getLocalAvatar().viewCellConfigured(getCellID());
                   
                    MovableComponent mc = getComponent(MovableComponent.class);
                    if (mc != null && mc instanceof MovableAvatarComponent) {
                        movableComp = (MovableAvatarComponent) getComponent(MovableComponent.class);
                    }
                }
                break;
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.client.cell.MovableComponent

Copyright © 2018 www.massapicom. 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.