Examples of addViewManagerListener()


Examples of org.jdesktop.wonderland.client.jme.ViewManager.addViewManagerListener()

    public void stateChanged(State state) {
        if (state == State.READY) {
            // If the state is ready, then set-up the primary view Cell if it is
            // ready or wait for it to become ready.
            ViewManager manager = ViewManager.getViewManager();
            manager.addViewManagerListener(this);
            if (manager.getPrimaryViewCell() != null) {
                // fake a view cell changed event
                primaryViewCellChanged(null, manager.getPrimaryViewCell());
            }
        }
View Full Code Here

Examples of org.jdesktop.wonderland.client.jme.ViewManager.addViewManagerListener()

                    if (increasing) {
                        CellTransform worldTransform = cell.getWorldTransform();
                        for(ProximityListenerRecord l : listenerRecords)
                            l.updateWorldBounds(worldTransform);

                        vm.addViewManagerListener(this);
                        primaryViewCellChanged(null, vm.getPrimaryViewCell());

                        cell.addTransformChangeListener(cellTransformListener);
                    }
                    break;
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.