Package org.mt4j.input.inputProcessors.componentProcessors.tapProcessor

Examples of org.mt4j.input.inputProcessors.componentProcessors.tapProcessor.TapEvent


        //Dont do every frame! Duration is only valid if playing..
        slider.setValueRange(0, m.duration());
       
        slider.getOuterShape().addGestureListener(TapProcessor.class, new IGestureEventListener() {
          public boolean processGestureEvent(MTGestureEvent ge) {
            TapEvent te = (TapEvent)ge;
            switch (te.getTapID()) {
            case TapEvent.BUTTON_DOWN:
              stopSliderAdvance = true;
              break;
            case TapEvent.BUTTON_UP:
              stopSliderAdvance = false;
View Full Code Here

TOP

Related Classes of org.mt4j.input.inputProcessors.componentProcessors.tapProcessor.TapEvent

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.