public class DetailedProfilerState extends BaseAppState
| Constructor and Description |
|---|
DetailedProfilerState() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup(Application app)
Called after the app state is detached or during
application shutdown if the state is still attached.
|
Node |
getUiNode() |
protected void |
initialize(Application app)
Called during initialization once the app state is
attached and before onEnable() is called.
|
protected void |
onDisable()
Called when the state was previously enabled but is
now disabled either because setEnabled(false) was called
or the state is being cleaned up.
|
protected void |
onEnable()
Called when the state is fully enabled, ie: is attached
and isEnabled() is true or when the setEnabled() status
changes after the state is attached.
|
void |
postRender()
Called after all rendering commands are flushed.
|
boolean |
setColor(BitmapText t,
double value,
double totalTime,
boolean isParent,
boolean expended) |
void |
update(float tpf)
Called to update the
AppState. |
cleanup, getApplication, getId, getState, getState, getState, getState, getStateManager, initialize, isEnabled, isInitialized, render, setEnabled, setId, stateAttached, stateDetachedprotected void initialize(Application app)
BaseAppStateinitialize in class BaseAppStateapp - the applicationprotected void cleanup(Application app)
BaseAppStatecleanup in class BaseAppStateapp - the applicationpublic void update(float tpf)
AppStateAppState. This method will be called
every render pass if the AppState is both attached and enabled.update in interface AppStateupdate in class BaseAppStatetpf - Time since the last call to update(), in seconds.public void postRender()
AppStateAppState is both attached and enabled.postRender in interface AppStatepostRender in class BaseAppStatepublic Node getUiNode()
protected void onEnable()
BaseAppStateonEnable in class BaseAppStateprotected void onDisable()
BaseAppStateonDisable in class BaseAppStatepublic boolean setColor(BitmapText t, double value, double totalTime, boolean isParent, boolean expended)