Package org.jdesktop.wonderland.client.scenemanager.event

Examples of org.jdesktop.wonderland.client.scenemanager.event.HoverEvent


               
                // If there is a currently hovering entity, then send a stop
                // event
                MouseEvent mouseEvent = (MouseEvent) ((MouseEvent3D) event).getAwtEvent();
                if (hoverEntity != null) {
                    inputManager.postEvent(new HoverEvent(hoverEntity, false, mouseEvent));
                    hoverEntity = null;
                }
               
                // Update the hover start time. This will cause any remaining
                // timer tasks that may have been run to ignore themselves
View Full Code Here


                // If there is a currently hovering entity, then send a stop
                // event
                MouseEvent mouseEvent = (MouseEvent) ((HoverEvent) event).getMouseEvent();
                if (hoverEntity != null) {
                    inputManager.postEvent(new HoverEvent(hoverEntity, false, mouseEvent));
                    hoverEntity = null;
                }

                // Update the hover start time. This will cause any remaining
                // timer tasks that may have been run to ignore themselves
View Full Code Here

            // and check to see if the time this task was started is the same
            // time the Selection Manager thinks the hover task should be.
            synchronized(SceneManager.this) {
                if (thisStartTime == hoverStartTime) {
                    hoverEntity = lastEventEntity;
                    HoverEvent ev = new HoverEvent(lastEventEntity, true, mouseEvent);
                    InputManager.inputManager().postEvent(ev);
                    hoverTimer = null;
                }
            }
        }
View Full Code Here

TOP

Related Classes of org.jdesktop.wonderland.client.scenemanager.event.HoverEvent

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.