APIdia Launch Partner
Top Description Constructors Methods
com.badlogic.gdx

public abstract Class ApplicationAdapter

extends Object
implements ApplicationListener
Class Inheritance
All Implemented Interfaces
com.badlogic.gdx.ApplicationListener

Convenience implementation of ApplicationListener. Derive from this and only override what you need.
Author
mzechner

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
create()

Implements com.badlogic.gdx.ApplicationListener.create.

Called when the Application is first created.

public void
dispose()

Implements com.badlogic.gdx.ApplicationListener.dispose.

Called when the Application is destroyed.

public void
pause()

Implements com.badlogic.gdx.ApplicationListener.pause.

Called when the Application is paused, usually when it's not active or visible on-screen.

public void
render()

Implements com.badlogic.gdx.ApplicationListener.render.

Called when the Application should render itself.

public void
resize(int width, int height)

Implements com.badlogic.gdx.ApplicationListener.resize.

Called when the Application is resized.

public void
resume()

Implements com.badlogic.gdx.ApplicationListener.resume.

Called when the Application is resumed from a paused state, usually when it regains focus.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ApplicationAdapterback to summary
public ApplicationAdapter()

Method Detail

createback to summary
public void create()

Implements com.badlogic.gdx.ApplicationListener.create.

Doc from com.badlogic.gdx.ApplicationListener.create.

Called when the Application is first created.

Annotations
@Override
disposeback to summary
public void dispose()

Implements com.badlogic.gdx.ApplicationListener.dispose.

Doc from com.badlogic.gdx.ApplicationListener.dispose.

Called when the Application is destroyed. Preceded by a call to pause().

Annotations
@Override
pauseback to summary
public void pause()

Implements com.badlogic.gdx.ApplicationListener.pause.

Doc from com.badlogic.gdx.ApplicationListener.pause.

Called when the Application is paused, usually when it's not active or visible on-screen. An Application is also paused before it is destroyed.

Annotations
@Override
renderback to summary
public void render()

Implements com.badlogic.gdx.ApplicationListener.render.

Doc from com.badlogic.gdx.ApplicationListener.render.

Called when the Application should render itself.

Annotations
@Override
resizeback to summary
public void resize(int width, int height)

Implements com.badlogic.gdx.ApplicationListener.resize.

Doc from com.badlogic.gdx.ApplicationListener.resize.

Called when the Application is resized. This can happen at any point during a non-paused state but will never happen before a call to create().

Annotations
@Override
resumeback to summary
public void resume()

Implements com.badlogic.gdx.ApplicationListener.resume.

Doc from com.badlogic.gdx.ApplicationListener.resume.

Called when the Application is resumed from a paused state, usually when it regains focus.

Annotations
@Override