Package org.jdesktop.wonderland.client.input.InputManager

Examples of org.jdesktop.wonderland.client.input.InputManager.WindowSwingEventConsumer


        if (isWindowSwingEntity(entity)) {
            logger.info("Hit window swing entity = " + entity);

            // Get the WindowSwing of the entity
            WindowSwingEventConsumer eventConsumer =
                (WindowSwingEventConsumer) entity.getComponent(WindowSwingEventConsumer.class);
           
            // Treat change control events as 3D events, regardless of control or focus
            EventAction eventAction =  eventConsumer.consumesEvent(event);
            logger.info("Event action = " + eventAction);

            switch (eventAction) {

            case CONSUME_3D:
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.client.input.InputManager.WindowSwingEventConsumer

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.