com.badlogic.gdx.scenes.scene2d.ui
Class TextArea.TextAreaListener

java.lang.Object
  extended by com.badlogic.gdx.scenes.scene2d.InputListener
      extended by com.badlogic.gdx.scenes.scene2d.utils.ClickListener
          extended by com.badlogic.gdx.scenes.scene2d.ui.TextField.TextFieldClickListener
              extended by com.badlogic.gdx.scenes.scene2d.ui.TextArea.TextAreaListener
All Implemented Interfaces:
EventListener
Enclosing class:
TextArea

public class TextArea.TextAreaListener
extends TextField.TextFieldClickListener

Input listener for the text area


Field Summary
 
Fields inherited from class com.badlogic.gdx.scenes.scene2d.utils.ClickListener
visualPressedDuration
 
Constructor Summary
TextArea.TextAreaListener()
           
 
Method Summary
 boolean keyDown(InputEvent event, int keycode)
          Called when a key goes down.
 boolean keyTyped(InputEvent event, char character)
          Called when a key is typed.
 
Methods inherited from class com.badlogic.gdx.scenes.scene2d.ui.TextField.TextFieldClickListener
clicked, keyUp, touchDown, touchDragged, touchUp
 
Methods inherited from class com.badlogic.gdx.scenes.scene2d.utils.ClickListener
cancel, enter, exit, getButton, getPressedButton, getPressedPointer, getTapCount, getTapSquareSize, getTouchDownX, getTouchDownY, inTapSquare, inTapSquare, invalidateTapSquare, isOver, isOver, isPressed, isVisualPressed, setButton, setTapCountInterval, setTapSquareSize
 
Methods inherited from class com.badlogic.gdx.scenes.scene2d.InputListener
handle, mouseMoved, scrolled
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextArea.TextAreaListener

public TextArea.TextAreaListener()
Method Detail

keyDown

public boolean keyDown(InputEvent event,
                       int keycode)
Description copied from class: InputListener
Called when a key goes down. When true is returned, the event is handled.

Overrides:
keyDown in class TextField.TextFieldClickListener

keyTyped

public boolean keyTyped(InputEvent event,
                        char character)
Description copied from class: InputListener
Called when a key is typed. When true is returned, the event is handled.

Overrides:
keyTyped in class TextField.TextFieldClickListener


Copyright © 2014. All Rights Reserved.