|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object uic.widgets.Splash uic.widgets.SplashScreen
A Splash screen that will show a picture and possibly a progressbar.
The splash screen is written for speed; on my 800 mHz machine it takes less then
a second for this splas to be visible.
Positioning of the splash is in the center of the current screen (choosing the
active monitor on a multi screen setup).
The image can be any format the respective JRE supports using ImageIO, using
the latter immidiately also means this splashscreen only works with JRE 1.4 and later.
Use the Splash superclass which needs an Image, but is usable on JRE 1.2 and later.
Constructor Summary | |
SplashScreen(InputStream imageData,
boolean showProgress)
Create and show a splashScreen. |
|
SplashScreen(String filename,
boolean showProgress)
Create and show a splashScreen. |
|
SplashScreen(URL imageLocation,
boolean showProgress)
Create and show a splashScreen. |
Methods inherited from class uic.widgets.Splash |
close, setProgress, setProgressBarLocation, setProgressBarLocation, setProgressBarLocation, setProgressMax |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SplashScreen(String filename, boolean showProgress) throws IOException
public SplashScreen(InputStream imageData, boolean showProgress) throws IOException
imageData
- the image data. Any imageData that ImageIO accepts is possible here.showProgress
- create a progress bar.public SplashScreen(URL imageLocation, boolean showProgress) throws IOException
imageLocation
- the fully qualified filename where the image comes from. Any imageformat
that ImageIO accepts is possible here.showProgress
- create a progress bar.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |