Package org.jdesktop.wonderland.client.cell.view

Examples of org.jdesktop.wonderland.client.cell.view.LocalAvatar


   * Depending on timing, we may or may not have been called at viewConfigured().
   * We create and add the presence info for the client when viewConfigured() is called.
   */
        pm = (PresenceManagerImpl) PresenceManagerFactory.getPresenceManager(session);

        LocalAvatar avatar = ((CellClientSession) session).getLocalAvatar();
        avatar.addViewCellConfiguredListener(this);
        if (avatar.getViewCell() != null) {
            // if the view is already configured, fake an event
            viewConfigured(avatar);
        }
    }
View Full Code Here


                            return impl;
                        }
                    };
                    ccs.addSessionStatusListener(Client3DSim.this);

                    final LocalAvatar avatar = ccs.getLocalAvatar();
                    avatar.addViewCellConfiguredListener(new ViewCellConfiguredListener() {

                        public void viewConfigured(LocalAvatar localAvatar) {
//                            MovableComponent mc =
//                                    avatar.getViewCell().getComponent(MovableComponent.class);
//                            mc.addServerCellMoveListener(messageTimer);
View Full Code Here

  }

  SwingUtilities.invokeLater(new Runnable() {
      public void run() {
    if (orbDialog == null) {
            LocalAvatar avatar = ((CellClientSession)session).getLocalAvatar();
     
              orbDialog = new OrbDialog(orbCell, channelComp,
            avatar.getViewCell().getCellID(), pm);
    }
    orbDialog.setVisible(true);
      }
  });
    }
View Full Code Here

        session.addSessionStatusListener(this);
        session.login(login);
       
        logger.info(getName() + " login succeeded");
       
        LocalAvatar avatar = session.getLocalAvatar();
       
        // pick a direction to move
//        int dir = (int) Math.random() * 10;
//        dir = 5;
//        if (dir < 2) {
View Full Code Here

                             WonderlandServerInfo serverInfo,
                             ClassLoader loader)
    {
        super (manager, serverInfo, loader);
       
        localAvatar = new LocalAvatar(this);
        cellCacheConnection = new CellCacheConnection(localAvatar);       
        cellChannelConnection = new CellChannelConnection();
        cellEditChannelConnection = new CellEditChannelConnection();
   
View Full Code Here

//            viewConfigured(avatar);
//        }
    }

    public void primarySession(WonderlandSession session) {
        LocalAvatar avatar = ((CellClientSession) session).getLocalAvatar();       
        avatar.addViewCellConfiguredListener(this);
    }
View Full Code Here

        this.session = session;

        pm = PresenceManagerFactory.getPresenceManager(session);

        LocalAvatar avatar = ((CellClientSession) session).getLocalAvatar();
        avatar.addViewCellConfiguredListener(this);
        if (avatar.getViewCell() != null) {
            // if the view is already configured, fake an event
            viewConfigured(avatar);
        }

        SoftphoneControlImpl.getInstance().addSoftphoneListener(this);
View Full Code Here

        // remove push-to-talk listeners
        removePTTListeners();

        // TODO: add methods to remove listeners!
        LocalAvatar avatar = ((CellClientSession) session).getLocalAvatar();
        avatar.removeViewCellConfiguredListener(this);

        SoftphoneControlImpl.getInstance().removeSoftphoneListener(this);

  try {
            SoftphoneControlImpl.getInstance().sendCommandToSoftphone("Shutdown");
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.client.cell.view.LocalAvatar

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.