Examples of ResizeAffordanceCellComponent


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

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

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

        if (rotateComponent != null) {
            rotateComponent.setSize(newSize);
        }

        // Set the size on the resize affordance
        ResizeAffordanceCellComponent resizeComponent = cell.getComponent(
                ResizeAffordanceCellComponent.class);
        if (resizeComponent != null) {
            resizeComponent.setSize(newSize);
        }
    }
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.