public final class Splash extends Object implements Stamps.Updater
Modifier and Type | Method and Description |
---|---|
void |
addToMaxSteps(int steps)
Adds specified numbers of steps to a progress
|
void |
cacheReady() |
static void |
configureDefaultRenderingHints(Graphics2D graphics) |
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) |
public static Splash getInstance()
public static void showAboutDialog(Frame parent, JComponent info)
public void setRunning(boolean running)
public void dispose()
public void increment(int steps)
public Component getComponent()
public void print(String s)
public void addToMaxSteps(int steps)
public static Image loadContent(boolean about)
ImageUtilities.image2Icon(java.awt.Image)
prior to painting.about
- if true then about image is loaded, if false splash image is loadedpublic void flushCaches(DataOutputStream os) throws IOException
flushCaches
in interface Stamps.Updater
IOException
public void cacheReady()
cacheReady
in interface Stamps.Updater
public static void configureDefaultRenderingHints(Graphics2D graphics)