com.badlogic.gdx.scenes.scene2d.utils
Class FocusListener
java.lang.Object
com.badlogic.gdx.scenes.scene2d.utils.FocusListener
- All Implemented Interfaces:
- EventListener
public abstract class FocusListener
- extends java.lang.Object
- implements EventListener
Listener for FocusListener.FocusEvent
.
- Author:
- Nathan Sweet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FocusListener
public FocusListener()
handle
public boolean handle(Event event)
- Specified by:
handle
in interface EventListener
keyboardFocusChanged
public void keyboardFocusChanged(FocusListener.FocusEvent event,
Actor actor,
boolean focused)
- Parameters:
actor
- The event target, which is the actor that emitted the focus event.
scrollFocusChanged
public void scrollFocusChanged(FocusListener.FocusEvent event,
Actor actor,
boolean focused)
- Parameters:
actor
- The event target, which is the actor that emitted the focus event.
Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)