APIdia Launch Partner
Top Description Inners Constructors Methods
com.badlogic.gdx.scenes.scene2d.utils

public abstract Class ChangeListener

extends Object
implements EventListener
Class Inheritance
All Implemented Interfaces
com.badlogic.gdx.scenes.scene2d.EventListener
Imports
com.badlogic.gdx.scenes.scene2d.Actor, .Event, .EventListener

Listener for ChangeEvent.
Author
Nathan Sweet

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
ChangeListener.ChangeEvent

Fired when something in an actor has changed.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract void
changed(ChangeListener.ChangeEvent event, Actor
The event target, which is the actor that emitted the change event.
actor
)

public boolean
handle(Event event)

Implements com.badlogic.gdx.scenes.scene2d.EventListener.handle.

Try to handle the given event, if it is applicable.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ChangeListenerback to summary
public ChangeListener()

Method Detail

changedback to summary
public abstract void changed(ChangeListener.ChangeEvent event, Actor actor)
Parameters
actor:Actor

The event target, which is the actor that emitted the change event.

handleback to summary
public boolean handle(Event event)

Implements com.badlogic.gdx.scenes.scene2d.EventListener.handle.

Doc from com.badlogic.gdx.scenes.scene2d.EventListener.handle.

Try to handle the given event, if it is applicable.

com.badlogic.gdx.scenes.scene2d.utils back to summary

public Class ChangeListener.ChangeEvent

extends Event
Class Inheritance

Fired when something in an actor has changed. This is a generic event, exactly what changed in an actor will vary.
Author
Nathan Sweet

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from com.badlogic.gdx.scenes.scene2d.Event:
cancelgetBubblesgetListenerActorgetStagegetTargethandleisCancelledisCaptureisHandledisStoppedresetsetBubblessetCapturesetListenerActorsetStagesetTargetstop

Constructor Detail

ChangeEventback to summary
public ChangeEvent()