|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.richclient.application.splash.AbstractSplashScreen
org.springframework.richclient.application.splash.SimpleSplashScreen
public class SimpleSplashScreen
A lightweight splash-screen for display when a GUI application is being initialized.
The splash screen renders an image in a Frame. It minimizes class loading so it is displayed immediately once the application is started.
| Nested Class Summary | |
|---|---|
class |
SimpleSplashScreen.ImageCanvas
Simple Canvas that paints an image. |
| Field Summary |
|---|
| Fields inherited from class org.springframework.richclient.application.splash.AbstractSplashScreen |
|---|
SPLASH_TITLE_KEY |
| Constructor Summary | |
|---|---|
SimpleSplashScreen()
Creates a new uninitialized SimpleSplashScreen. |
|
SimpleSplashScreen(Image image)
Creates a new SimpleSplashScreen that will display the given
image. |
|
SimpleSplashScreen(Resource imageResourcePath)
Creates a new SimpleSplashScreen that will display the image at
the specified location. |
|
| Method Summary | |
|---|---|
protected Component |
createContentPane()
Returns a component that displays an image in a canvas. |
protected Image |
getImage()
|
void |
setImageResourcePath(Resource path)
Sets the location of the image to be displayed by this splash screen. |
| Methods inherited from class org.springframework.richclient.application.splash.AbstractSplashScreen |
|---|
dispose, getIconResourcePath, getMessageSource, isRootFrame, isShadowBorder, setIconResourcePath, setMessageSource, setRootFrame, setShadowBorder, splash |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleSplashScreen()
SimpleSplashScreen.
public SimpleSplashScreen(Resource imageResourcePath)
SimpleSplashScreen that will display the image at
the specified location.
imageResourcePath - The location of the image file to be displayed
by this splash screen.#setImageResourcePath(String)public SimpleSplashScreen(Image image)
SimpleSplashScreen that will display the given
image.
image - the image to splash.
IllegalArgumentException - if image is null.| Method Detail |
|---|
public void setImageResourcePath(Resource path)
path - The path to the splash screen image.protected Image getImage()
protected Component createContentPane()
createContentPane in class AbstractSplashScreen
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||