Package org.jdesktop.wonderland.modules.affordances.client.jme

Examples of org.jdesktop.wonderland.modules.affordances.client.jme.TranslateAffordance$TranslateDragListener


        // super.setStatus() method which relies upon a valid affordance
        if (increasing && status == CellStatus.ACTIVE) {
            // Create the affordance. Register a listener for all translation
            // events for the affordance and update the translation of the
            // movable component
            affordance = new TranslateAffordance(getSceneGraphRoot());
            ((TranslateAffordance)affordance).addTranslationListener(listener);
        }
        else if (!increasing && status == CellStatus.DISK) {
            ((TranslateAffordance)affordance).removeTranslationListener(listener);
        }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.modules.affordances.client.jme.TranslateAffordance$TranslateDragListener

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.