|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jpackages.execj.SplashScreen
public abstract class SplashScreen
This class provides functionality to alter the SplashScreen displayed.
The splash screen image and text is initially predefined but can be modified at runtime with this class' methods. This allows for updated information such as load progress or version information to be displayed.
Example:
// loadingImage1 is a javax.swing.ImageIcon
SplashScreen.setImage(loadingImage1);
// version is a float representing the product version
SplashScreen.setText1("Product Name " + version);
Copyright (c) 2001-2007
| Constructor Summary | |
|---|---|
SplashScreen()
|
|
| Method Summary | |
|---|---|
static void |
dispose()
Dispose of the splash screen. |
static void |
setImage(javax.swing.ImageIcon image)
Set the image to display on the splash screen. |
static void |
setText1(java.lang.String text)
Set the text to display in the Text1 region. |
static void |
setText2(java.lang.String text)
Set the text to display in the Text2 region. |
static void |
setText3(java.lang.String text)
Set the text to display in the Text3 region. |
static void |
setText4(java.lang.String text)
Set the text to display in the Text4 region. |
static void |
setText5(java.lang.String text)
Set the text to display in the Text5 region. |
static void |
setText6(java.lang.String text)
Set the text to display in the Text6 region. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SplashScreen()
| Method Detail |
|---|
public static void dispose()
Dispose of the splash screen.
If this is never called, the splash screen is automatically disposed when the main method finishes.
public static void setImage(javax.swing.ImageIcon image)
Set the image to display on the splash screen.
image - Image to displaypublic static void setText1(java.lang.String text)
Set the text to display in the Text1 region.
text - public static void setText2(java.lang.String text)
Set the text to display in the Text2 region.
text - public static void setText3(java.lang.String text)
Set the text to display in the Text3 region.
text - public static void setText4(java.lang.String text)
Set the text to display in the Text4 region.
text - public static void setText5(java.lang.String text)
Set the text to display in the Text5 region.
text - public static void setText6(java.lang.String text)
Set the text to display in the Text6 region.
text -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||