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

Examples of org.jdesktop.wonderland.modules.affordances.client.jme.ResizeAffordance


    protected void setStatus(CellStatus status, boolean increasing) {
        // If we are making the affordance ACTIVE, we want to create the
        // visual affordance Entity. We must do this *before* we call the
        // super.setStatus() method which relies upon a valid affordance
        if (increasing && status == CellStatus.ACTIVE) {
            affordance = new ResizeAffordance(getSceneGraphRoot());
            ((ResizeAffordance)affordance).addResizingListener(listener);
        }
        else if (!increasing && status == CellStatus.DISK) {
            ((ResizeAffordance)affordance).removeResizingListener(listener);
        }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.modules.affordances.client.jme.ResizeAffordance

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.