Package elemental.events

Examples of elemental.events.MouseWheelEvent


     * bother to support). This means FF mousewheel scrolling will flicker.
     */
    scrollableElement.addEventListener(Event.MOUSEWHEEL, new EventListener() {
      @Override
      public void handleEvent(Event evt) {
        MouseWheelEvent mouseWheelEvent = (MouseWheelEvent) evt;
       
        /*
         * The negative is so the deltaX,Y are positive when the scroll delta
         * is. That is, a positive "deltaY" will scroll down.
         */
 
View Full Code Here

TOP

Related Classes of elemental.events.MouseWheelEvent

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.