Java com.badlogic.gdx.scenes.scene2d InputEvent fields, constructors, methods, implement or subclass

Example usage for Java com.badlogic.gdx.scenes.scene2d InputEvent fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.badlogic.gdx.scenes.scene2d InputEvent.

The text is from its open source code.

Subclass

com.badlogic.gdx.scenes.scene2d.InputEvent has subclasses.
Click this link to see all its subclasses.

Constructor

Method

intgetButton()
The index for the mouse button pressed.
chargetCharacter()
The character for the key that was type.
intgetKeyCode()
The key code of the key that was pressed.
intgetPointer()
The pointer index for the event.
ActorgetRelatedActor()
The actor related to the event.
intgetScrollAmount()
The amount the mouse was scrolled.
floatgetStageX()
The stage x coordinate where the event occurred.
floatgetStageY()
The stage x coordinate where the event occurred.
TypegetType()
The type of input event.
voidsetButton(int button)
voidsetCharacter(char character)
voidsetKeyCode(int keyCode)
voidsetPointer(int pointer)
voidsetRelatedActor(Actor relatedActor)
voidsetScrollAmount(int scrollAmount)
voidsetStageX(float stageX)
voidsetStageY(float stageY)
voidsetType(Type type)
StringtoString()