org.netbeans.core.startup/1 1.40

org.netbeans.core.startup
Class Splash

java.lang.Object
  extended by org.netbeans.core.startup.Splash
All Implemented Interfaces:
Stamps.Updater

public final class Splash
extends Object
implements Stamps.Updater

A class that encapsulates all the splash screen things.


Method Summary
 void addToMaxSteps(int steps)
          Adds specified numbers of steps to a progress
 void cacheReady()
           
 void dispose()
           
 void flushCaches(DataOutputStream os)
           
 Component getComponent()
           
static Splash getInstance()
           
 void increment(int steps)
           
static Image loadContent(boolean about)
          Loads a splash image from its source
 void print(String s)
          Updates text in splash window
 void setRunning(boolean running)
          Enables or disables splash component and its progress animation
static void showAboutDialog(Frame parent, JComponent info)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static Splash getInstance()

showAboutDialog

public static void showAboutDialog(Frame parent,
                                   JComponent info)

setRunning

public void setRunning(boolean running)
Enables or disables splash component and its progress animation


dispose

public void dispose()

increment

public void increment(int steps)

getComponent

public Component getComponent()

print

public void print(String s)
Updates text in splash window


addToMaxSteps

public void addToMaxSteps(int steps)
Adds specified numbers of steps to a progress


loadContent

public static Image loadContent(boolean about)
Loads a splash image from its source

Parameters:
about - if true then about image is loaded, if false splash image is loaded

flushCaches

public void flushCaches(DataOutputStream os)
                 throws IOException
Specified by:
flushCaches in interface Stamps.Updater
Throws:
IOException

cacheReady

public void cacheReady()
Specified by:
cacheReady in interface Stamps.Updater

org.netbeans.core.startup/1 1.40

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.