com.badlogic.gdx.scenes.scene2d.utils
Class ChangeListener

java.lang.Object
  extended by com.badlogic.gdx.scenes.scene2d.utils.ChangeListener
All Implemented Interfaces:
EventListener

public abstract class ChangeListener
extends Object
implements EventListener

Listener for ChangeListener.ChangeEvent.

Author:
Nathan Sweet

Nested Class Summary
static class ChangeListener.ChangeEvent
          Fired when something in an actor has changed.
 
Constructor Summary
ChangeListener()
           
 
Method Summary
abstract  void changed(ChangeListener.ChangeEvent event, Actor actor)
           
 boolean handle(Event event)
          Try to handle the given event, if it is applicable.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChangeListener

public ChangeListener()
Method Detail

handle

public boolean handle(Event event)
Description copied from interface: EventListener
Try to handle the given event, if it is applicable.

Specified by:
handle in interface EventListener
Returns:
true if the event should be considered handled by scene2d.

changed

public abstract void changed(ChangeListener.ChangeEvent event,
                             Actor actor)
Parameters:
actor - The event target, which is the actor that emitted the change event.


Copyright © 2013. All Rights Reserved.