libgdx API

Uses of Class
com.badlogic.gdx.scenes.scene2d.InputEvent

Packages that use InputEvent
com.badlogic.gdx.scenes.scene2d   
com.badlogic.gdx.scenes.scene2d.utils   
 

Uses of InputEvent in com.badlogic.gdx.scenes.scene2d
 

Methods in com.badlogic.gdx.scenes.scene2d with parameters of type InputEvent
 void InputListener.enter(InputEvent event, float x, float y, int pointer, Actor fromActor)
          Called any time the mouse cursor or a finger touch is moved over an actor.
 void InputListener.exit(InputEvent event, float x, float y, int pointer, Actor toActor)
          Called any time the mouse cursor or a finger touch is moved out of an actor.
 boolean InputListener.keyDown(InputEvent event, int keycode)
          Called when a key goes down.
 boolean InputListener.keyTyped(InputEvent event, char character)
          Called when a key is typed.
 boolean InputListener.keyUp(InputEvent event, int keycode)
          Called when a key goes up.
 boolean InputListener.mouseMoved(InputEvent event, float x, float y)
          Called any time the mouse is moved when a button is not down.
 boolean InputListener.scrolled(InputEvent event, float x, float y, int amount)
          Called when the mouse wheel has been scrolled.
 boolean InputListener.touchDown(InputEvent event, float x, float y, int pointer, int button)
          Called when a mouse button or a finger touch goes down on the actor.
 void InputListener.touchDragged(InputEvent event, float x, float y, int pointer)
          Called when a mouse button or a finger touch is moved anywhere, but only if touchDown previously returned true for the mouse button or touch.
 void InputListener.touchUp(InputEvent event, float x, float y, int pointer, int button)
          Called when a mouse button or a finger touch goes up anywhere, but only if touchDown previously returned true for the mouse button or touch.
 

Uses of InputEvent in com.badlogic.gdx.scenes.scene2d.utils
 

Methods in com.badlogic.gdx.scenes.scene2d.utils with parameters of type InputEvent
 void ClickListener.clicked(InputEvent event, float x, float y)
           
 void ClickListener.drag(InputEvent event, float x, float y, int pointer)
           
 void DragListener.drag(InputEvent event, float x, float y, int pointer)
           
 void DragScrollListener.drag(InputEvent event, float x, float y, int pointer)
           
 void ClickListener.dragStart(InputEvent event, float x, float y, int pointer)
           
abstract  DragAndDrop.Payload DragAndDrop.Source.dragStart(InputEvent event, float x, float y, int pointer)
           
 void DragListener.dragStart(InputEvent event, float x, float y, int pointer)
           
 void ClickListener.dragStop(InputEvent event, float x, float y, int pointer)
           
 void DragListener.dragStop(InputEvent event, float x, float y, int pointer)
           
 void DragScrollListener.dragStop(InputEvent event, float x, float y, int pointer)
           
 void DragAndDrop.Source.dragStop(InputEvent event, float x, float y, int pointer, DragAndDrop.Target target)
           
 void ClickListener.enter(InputEvent event, float x, float y, int pointer, Actor fromActor)
           
 void ClickListener.exit(InputEvent event, float x, float y, int pointer, Actor toActor)
           
 void ActorGestureListener.fling(InputEvent event, float velocityX, float velocityY, int button)
           
 void ActorGestureListener.pan(InputEvent event, float x, float y, float deltaX, float deltaY)
          The delta is the difference in stage coordinates since the last pan.
 void ActorGestureListener.pinch(InputEvent event, Vector2 initialPointer1, Vector2 initialPointer2, Vector2 pointer1, Vector2 pointer2)
           
 void ActorGestureListener.tap(InputEvent event, float x, float y, int count, int button)
           
 void ActorGestureListener.touchDown(InputEvent event, float x, float y, int pointer, int button)
           
 boolean ClickListener.touchDown(InputEvent event, float x, float y, int pointer, int button)
           
 boolean DragListener.touchDown(InputEvent event, float x, float y, int pointer, int button)
           
 void ClickListener.touchDragged(InputEvent event, float x, float y, int pointer)
           
 void DragListener.touchDragged(InputEvent event, float x, float y, int pointer)
           
 void ActorGestureListener.touchUp(InputEvent event, float x, float y, int pointer, int button)
           
 void ClickListener.touchUp(InputEvent event, float x, float y, int pointer, int button)
           
 void DragListener.touchUp(InputEvent event, float x, float y, int pointer, int button)
           
 void ActorGestureListener.zoom(InputEvent event, float initialDistance, float distance)
           
 


libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)