|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.loop.opscheduler.impl.ScheduledOperationImpl
org.xith3d.resources.DelayedLoadingScreenUpdater
public class DelayedLoadingScreenUpdater
This LoadingScreenUpdater updates a loading screen within the
RenderLoop's thread.
| Constructor Summary | |
|---|---|
DelayedLoadingScreenUpdater(LoadingScreenUpdater loadingScreenUpdater)
|
|
| Method Summary | |
|---|---|
void |
init(int maxValue,
java.lang.String caption,
java.lang.String backgroundTexture)
Initializes the progress, caption and background image. |
void |
init(int maxValue,
java.lang.String caption,
Texture2D backgroundTexture)
Initializes the progress, caption and background image. |
void |
update()
Updates the progress value incremented by one and leaves the caption unchanged. |
void |
update(int incValue)
Updates the progress value and leaves the caption unchanged. |
void |
update(int incValue,
java.lang.String caption)
Updates the progress value and caption. |
void |
update(int incValue,
java.lang.String caption,
java.lang.String backgroundTexture)
Updates the progress value, caption and background image. |
void |
update(int incValue,
java.lang.String caption,
Texture2D backgroundTexture)
Updates the progress value, caption and background image. |
void |
update(int incValue,
Texture2D backgroundTexture)
Updates the progress value and background image. |
void |
update(long gameTime,
long frameTime,
UpdatingThread.TimingMode timingMode)
Updates this Updatable object. |
void |
update(java.lang.String caption)
Updates the progress value incremented by one and sets the new caption. |
void |
update(Texture2D backgroundTexture)
Increases the progress value by one and updates the background image. |
void |
updateOnly(java.lang.String caption)
Updates the caption only. |
void |
updateOnly(Texture2D backgroundTexture)
Updates the background image only. |
| Methods inherited from class org.xith3d.loop.opscheduler.impl.ScheduledOperationImpl |
|---|
isAlive, isPersistent, setAlive |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DelayedLoadingScreenUpdater(LoadingScreenUpdater loadingScreenUpdater)
loadingScreenUpdater - | Method Detail |
|---|
public void init(int maxValue,
java.lang.String caption,
Texture2D backgroundTexture)
init in interface LoadingScreenUpdatermaxValue - the new maximum progress valuecaption - the new caption (or null to keep the old one)backgroundTexture - the new background Texture (or null to keep the old one)
public final void init(int maxValue,
java.lang.String caption,
java.lang.String backgroundTexture)
init in interface LoadingScreenUpdatermaxValue - the new maximum progress valuecaption - the new caption (or null to keep the old one)backgroundTexture - the new background Texture (or null to keep the old one)
public void update(int incValue,
java.lang.String caption,
Texture2D backgroundTexture)
update in interface LoadingScreenUpdaterincValue - the value to add to the current progress valuecaption - the new caption (or null to keep the old one)backgroundTexture - the new background Texture (or null to keep the old one)
public final void update(int incValue,
Texture2D backgroundTexture)
update in interface LoadingScreenUpdaterincValue - the value to add to the current progress valuebackgroundTexture - the new background Texture (or null to keep the old one)public final void update(Texture2D backgroundTexture)
update in interface LoadingScreenUpdaterbackgroundTexture - the new background Texture (or null to keep the old one)public final void updateOnly(Texture2D backgroundTexture)
updateOnly in interface LoadingScreenUpdaterbackgroundTexture - the new background Texture (or null to keep the old one)
public final void update(int incValue,
java.lang.String caption,
java.lang.String backgroundTexture)
update in interface LoadingScreenUpdaterincValue - the value to add to the current progress valuecaption - the new caption (or null to keep the old one)backgroundTexture - the new background Texture (or null to keep the old one)
public final void update(int incValue,
java.lang.String caption)
update in interface LoadingScreenUpdaterincValue - the value to add to the current progress valuecaption - the new caption (or null to keep the old one)public final void update(int incValue)
update in interface LoadingScreenUpdaterincValue - the value to add to the current progress valuepublic final void updateOnly(java.lang.String caption)
updateOnly in interface LoadingScreenUpdatercaption - the new caption (or null to keep the old one)public final void update(java.lang.String caption)
update in interface LoadingScreenUpdatercaption - the new caption (or null to keep the old one)public final void update()
update in interface LoadingScreenUpdater
public void update(long gameTime,
long frameTime,
UpdatingThread.TimingMode timingMode)
update in interface UpdatablegameTime - the gameTime in MillisecondsframeTime - the frameTime in Milliseconds (needed time for the last frame)timingMode - the TimingMode to use for frameTime.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||