Package org.oscim.gdx

Class GestureHandlerImpl

  • All Implemented Interfaces:
    com.badlogic.gdx.input.GestureDetector.GestureListener

    public class GestureHandlerImpl
    extends com.badlogic.gdx.input.GestureDetector.GestureAdapter
    • Constructor Summary

      Constructors 
      Constructor Description
      GestureHandlerImpl​(org.oscim.map.Map map)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean longPress​(float x, float y)  
      boolean tap​(float x, float y, int count, int button)  
      • Methods inherited from class com.badlogic.gdx.input.GestureDetector.GestureAdapter

        fling, pan, panStop, pinch, pinchStop, touchDown, zoom
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GestureHandlerImpl

        public GestureHandlerImpl​(org.oscim.map.Map map)
    • Method Detail

      • longPress

        public boolean longPress​(float x,
                                 float y)
        Specified by:
        longPress in interface com.badlogic.gdx.input.GestureDetector.GestureListener
        Overrides:
        longPress in class com.badlogic.gdx.input.GestureDetector.GestureAdapter
      • tap

        public boolean tap​(float x,
                           float y,
                           int count,
                           int button)
        Specified by:
        tap in interface com.badlogic.gdx.input.GestureDetector.GestureListener
        Overrides:
        tap in class com.badlogic.gdx.input.GestureDetector.GestureAdapter