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

Examples of org.jdesktop.wonderland.modules.affordances.client.cell.TranslateAffordanceCellComponent


        // If we are selecting the translate toggle button, then add the
        // translate component if it is not already on there. Also, set its
        // size.
        if (visible == true) {
            if (component == null) {
                component = new TranslateAffordanceCellComponent(cell);
                cell.addComponent(component);
            }
            ((AffordanceCellComponent) component).setSize(getSliderSize());
        }
        else {
View Full Code Here


        if (cell == null) {
            return;
        }

        // Set the size on the translate affordance
        TranslateAffordanceCellComponent translateComponent = cell.getComponent(
                TranslateAffordanceCellComponent.class);
        if (translateComponent != null) {
            translateComponent.setSize(newSize);
        }

        // Set the size on the rotate affordance
        RotateAffordanceCellComponent rotateComponent = cell.getComponent(
                RotateAffordanceCellComponent.class);
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.modules.affordances.client.cell.TranslateAffordanceCellComponent

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.