org.xith3d.ui.hud.widgets.assemblies
Interface LoadingScreenUpdater

All Known Implementing Classes:
LoadingScreen

public interface LoadingScreenUpdater

This interface is implemented by LoadingScreen. It makes LoadingScreen independent of the actual implementation. So just use this interface as parameter type in your game's loading methods.

See Also:
LoadingScreen

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, Texture 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 value)
          Updates the progress value and leaves the caption unchanged.
 void update(int value, java.lang.String caption)
          Updates the progress value and caption.
 void update(int value, java.lang.String caption, java.lang.String backgroundTexture)
          Updates the progress value, caption and background image.
 void update(int value, java.lang.String caption, Texture backgroundTexture)
          Updates the progress value, caption and background image.
 void update(int value, Texture backgroundTexture)
          Updates the progress value and background image.
 void update(java.lang.String caption)
          Updates the progress value incremented by one and sets the new caption.
 void update(Texture backgroundTexture)
          Increases the progress value by one and updates the background image.
 void updateOnly(java.lang.String caption)
          Updates the caption only.
 void updateOnly(Texture backgroundTexture)
          Updates the background image only.
 

Method Detail

init

void init(int maxValue,
          java.lang.String caption,
          Texture backgroundTexture)
Initializes the progress, caption and background image. The progress value is resetted to zero.

Parameters:
maxValue - the new maximum progress value
caption - the new caption (or null to keep the old one)
backgroundTexture - the new background Texture (or null to keep the old one)

init

void init(int maxValue,
          java.lang.String caption,
          java.lang.String backgroundTexture)
Initializes the progress, caption and background image. The progress value is resetted to zero.

Parameters:
maxValue - the new maximum progress value
caption - the new caption (or null to keep the old one)
backgroundTexture - the new background Texture (or null to keep the old one)

update

void update(int value,
            java.lang.String caption,
            Texture backgroundTexture)
Updates the progress value, caption and background image.

Parameters:
value - the new progress value
caption - the new caption (or null to keep the old one)
backgroundTexture - the new background Texture (or null to keep the old one)

update

void update(int value,
            Texture backgroundTexture)
Updates the progress value and background image.

Parameters:
value - the new progress value
backgroundTexture - the new background Texture (or null to keep the old one)

update

void update(Texture backgroundTexture)
Increases the progress value by one and updates the background image.

Parameters:
backgroundTexture - the new background Texture (or null to keep the old one)

updateOnly

void updateOnly(Texture backgroundTexture)
Updates the background image only.

Parameters:
backgroundTexture - the new background Texture (or null to keep the old one)

update

void update(int value,
            java.lang.String caption,
            java.lang.String backgroundTexture)
Updates the progress value, caption and background image.

Parameters:
value - the new progress value
caption - the new caption (or null to keep the old one)
backgroundTexture - the new background Texture (or null to keep the old one)

update

void update(int value,
            java.lang.String caption)
Updates the progress value and caption.

Parameters:
value - the new progress value
caption - the new caption (or null to keep the old one)

update

void update(int value)
Updates the progress value and leaves the caption unchanged.

Parameters:
value - the new progress value

updateOnly

void updateOnly(java.lang.String caption)
Updates the caption only.

Parameters:
caption - the new caption (or null to keep the old one)

update

void update(java.lang.String caption)
Updates the progress value incremented by one and sets the new caption.

Parameters:
caption - the new caption (or null to keep the old one)

update

void update()
Updates the progress value incremented by one and leaves the caption unchanged.