|
||||||||||
| 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
org.springframework.richclient.application.splash.ProgressSplashScreen
public class ProgressSplashScreen
A lightweight splash-screen for displaying the progress of a GUI application startup process.
The splash screen produced by this class will be an undecorated, centered frame containing an image above a progress bar. It minimizes class loading so it is displayed immediately once the application is started.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.springframework.richclient.application.splash.SimpleSplashScreen |
|---|
SimpleSplashScreen.ImageCanvas |
| Field Summary |
|---|
| Fields inherited from class org.springframework.richclient.application.splash.AbstractSplashScreen |
|---|
SPLASH_TITLE_KEY |
| Constructor Summary | |
|---|---|
ProgressSplashScreen()
Creates a new ProgressSplashScreen that uses an underlying ProgressBarProgressMonitor. |
|
| Method Summary | |
|---|---|
protected Component |
createContentPane()
Returns a component that displays an image above a progress bar. |
protected JProgressBar |
createProgressBar()
|
protected JProgressBar |
getProgressBar()
Returns the progress bar. |
ProgressMonitor |
getProgressMonitor()
Returns this SplashScreen's ProgressMonitor. |
boolean |
isIndeterminate()
|
boolean |
isShowProgressLabel()
Returns the flag that determines whether or not the progress bar will display updated textual info as it is provided by the progress monitor. |
void |
setIndeterminate(boolean indeterminate)
Determines whether the progress bar is in determinate or indeterminate mode. |
void |
setProgressMonitor(ProgressMonitor progressMonitor)
Sets the progress monitor used by this splash screen. |
void |
setShowProgressLabel(boolean showProgressLabel)
Sets the flag that determines whether or not the progress bar will display updated textual info as it is provided by the progress monitor. |
| Methods inherited from class org.springframework.richclient.application.splash.SimpleSplashScreen |
|---|
getImage, setImageResourcePath |
| 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 |
| Methods inherited from interface org.springframework.richclient.application.splash.SplashScreen |
|---|
dispose, splash |
| Constructor Detail |
|---|
public ProgressSplashScreen()
ProgressSplashScreen that uses an underlying ProgressBarProgressMonitor.
| Method Detail |
|---|
public boolean isShowProgressLabel()
public void setShowProgressLabel(boolean showProgressLabel)
showProgressLabel - protected Component createContentPane()
createContentPane in class SimpleSplashScreenpublic ProgressMonitor getProgressMonitor()
MonitoringSplashScreenSplashScreen's ProgressMonitor. Implementors wishing to show the
progress to the user should return a ProgressMonitor that updates the user interface.
getProgressMonitor in interface MonitoringSplashScreenProgressMonitor, not null.public void setProgressMonitor(ProgressMonitor progressMonitor)
progressMonitor - The progress monitor.protected JProgressBar getProgressBar()
protected JProgressBar createProgressBar()
public boolean isIndeterminate()
public void setIndeterminate(boolean indeterminate)
indeterminate - true if the progress bar should change to indeterminate mode; false if
it should revert to normal.JProgressBar.setIndeterminate(boolean)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||