org.springframework.richclient.application.splash
Class MacOSXSplashScreen

java.lang.Object
  extended by org.springframework.richclient.application.splash.AbstractSplashScreen
      extended by org.springframework.richclient.application.splash.MacOSXSplashScreen
All Implemented Interfaces:
MonitoringSplashScreen, SplashScreen

public class MacOSXSplashScreen
extends AbstractSplashScreen
implements MonitoringSplashScreen

MacOSX style splash screen inspired by a blog post by Romain Guy.

Author:
Peter De Bruycker

Field Summary
 
Fields inherited from class org.springframework.richclient.application.splash.AbstractSplashScreen
logger, SPLASH_TITLE_KEY
 
Constructor Summary
MacOSXSplashScreen()
           
 
Method Summary
protected  Component createContentPane()
          Returns the component to be displayed in the splash screen's main frame.
 ProgressMonitor getProgressMonitor()
          Returns this SplashScreen's ProgressMonitor.
 
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

MacOSXSplashScreen

public MacOSXSplashScreen()
Method Detail

createContentPane

protected Component createContentPane()
Description copied from class: AbstractSplashScreen
Returns the component to be displayed in the splash screen's main frame. If the returned value is null the frame for the splash screen will still be created but will not have any content

Specified by:
createContentPane in class AbstractSplashScreen
Returns:
The content pane component. Can be null.

getProgressMonitor

public ProgressMonitor getProgressMonitor()
Description copied from interface: MonitoringSplashScreen
Returns this SplashScreen's ProgressMonitor. Implementors wishing to show the progress to the user should return a ProgressMonitor that updates the user interface.

Specified by:
getProgressMonitor in interface MonitoringSplashScreen
Returns:
the ProgressMonitor, not null.


Copyright © 2004-2008 The Spring Framework. All Rights Reserved.