Package gaiasky.interfce
Class NaturalMouseKbdListener.GaiaGestureListener
- java.lang.Object
-
- com.badlogic.gdx.input.GestureDetector.GestureAdapter
-
- gaiasky.interfce.NaturalMouseKbdListener.GaiaGestureListener
-
- All Implemented Interfaces:
com.badlogic.gdx.input.GestureDetector.GestureListener
- Enclosing class:
- NaturalMouseKbdListener
protected static class NaturalMouseKbdListener.GaiaGestureListener extends com.badlogic.gdx.input.GestureDetector.GestureAdapter
-
-
Field Summary
Fields Modifier and Type Field Description NaturalMouseKbdListenerinputListener
-
Constructor Summary
Constructors Modifier Constructor Description protectedGaiaGestureListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanfling(float velocityX, float velocityY, int button)booleanlongPress(float x, float y)booleanpan(float x, float y, float deltaX, float deltaY)booleanpinch(com.badlogic.gdx.math.Vector2 initialPointer1, com.badlogic.gdx.math.Vector2 initialPointer2, com.badlogic.gdx.math.Vector2 pointer1, com.badlogic.gdx.math.Vector2 pointer2)booleantap(float x, float y, int count, int button)booleantouchDown(float x, float y, int pointer, int button)booleanzoom(float initialDistance, float distance)
-
-
-
Field Detail
-
inputListener
public NaturalMouseKbdListener inputListener
-
-
Method Detail
-
touchDown
public boolean touchDown(float x, float y, int pointer, int button)- Specified by:
touchDownin interfacecom.badlogic.gdx.input.GestureDetector.GestureListener- Overrides:
touchDownin classcom.badlogic.gdx.input.GestureDetector.GestureAdapter
-
tap
public boolean tap(float x, float y, int count, int button)- Specified by:
tapin interfacecom.badlogic.gdx.input.GestureDetector.GestureListener- Overrides:
tapin classcom.badlogic.gdx.input.GestureDetector.GestureAdapter
-
longPress
public boolean longPress(float x, float y)- Specified by:
longPressin interfacecom.badlogic.gdx.input.GestureDetector.GestureListener- Overrides:
longPressin classcom.badlogic.gdx.input.GestureDetector.GestureAdapter
-
fling
public boolean fling(float velocityX, float velocityY, int button)- Specified by:
flingin interfacecom.badlogic.gdx.input.GestureDetector.GestureListener- Overrides:
flingin classcom.badlogic.gdx.input.GestureDetector.GestureAdapter
-
pan
public boolean pan(float x, float y, float deltaX, float deltaY)- Specified by:
panin interfacecom.badlogic.gdx.input.GestureDetector.GestureListener- Overrides:
panin classcom.badlogic.gdx.input.GestureDetector.GestureAdapter
-
zoom
public boolean zoom(float initialDistance, float distance)- Specified by:
zoomin interfacecom.badlogic.gdx.input.GestureDetector.GestureListener- Overrides:
zoomin classcom.badlogic.gdx.input.GestureDetector.GestureAdapter
-
pinch
public boolean pinch(com.badlogic.gdx.math.Vector2 initialPointer1, com.badlogic.gdx.math.Vector2 initialPointer2, com.badlogic.gdx.math.Vector2 pointer1, com.badlogic.gdx.math.Vector2 pointer2)- Specified by:
pinchin interfacecom.badlogic.gdx.input.GestureDetector.GestureListener- Overrides:
pinchin classcom.badlogic.gdx.input.GestureDetector.GestureAdapter
-
-