|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.getdown.launcher.RotatingBackgrounds
public class RotatingBackgrounds
| Constructor Summary | |
|---|---|
RotatingBackgrounds()
Creates a placeholder if there are no images. |
|
RotatingBackgrounds(Image background)
Creates a single image background. |
|
RotatingBackgrounds(String[] backgrounds,
String errorBackground,
ImageLoader loader)
Create a sequence of images to be rotated through from backgrounds. |
|
| Method Summary | |
|---|---|
Image |
getErrorImage()
Returns the image to display if an error has caused getdown to fail. |
Image |
getImage(int progress)
|
int |
getNumImages()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RotatingBackgrounds()
public RotatingBackgrounds(Image background)
public RotatingBackgrounds(String[] backgrounds,
String errorBackground,
ImageLoader loader)
backgrounds.
Each String in backgrounds should be the path to the image, a semicolon, and the minimum
amount of time to display the image in seconds. Each image will be active for an equal
percentage of the download process, unless one hasn't been active for its minimum display
time when the next should be shown. In that case, it's left up until its been there for its
minimum display time and then the next one gets to come up.
| Method Detail |
|---|
public Image getImage(int progress)
public Image getErrorImage()
public int getNumImages()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||