Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.jempeg.empeg.emplode
Class Splash  view Splash download Splash.java

java.lang.Object
  extended byorg.jempeg.empeg.emplode.Splash
All Implemented Interfaces:
java.lang.Runnable

public class Splash
extends java.lang.Object
implements java.lang.Runnable

Splash is an AWT implementation of a splash screen.

Version:
$Revision: 1.6 $

Field Summary
private  java.awt.Image myImage
           
private  java.awt.Window myWindow
           
 
Constructor Summary
Splash(java.io.File _imageFile)
          Creates a splash screen with the image with the given file name
Splash(java.awt.Image _image)
          Creates a splash screen with the given _image
Splash(java.net.URL _url)
          Creates a splash screen with the image from the specified URL.
 
Method Summary
 void createWindow()
          Configure this splash screen to use a window (versus a titled frame)
 void dispose()
          Disposes the current splash window or frame
 void hide()
          Hides the current splash window or frame
 void run()
          This method will be called by whoever wishes to run your class implementing Runnable.
 void show()
          Shows this splash screen.
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myImage

private java.awt.Image myImage

myWindow

private java.awt.Window myWindow
Constructor Detail

Splash

public Splash(java.awt.Image _image)
Creates a splash screen with the given _image


Splash

public Splash(java.io.File _imageFile)
Creates a splash screen with the image with the given file name


Splash

public Splash(java.net.URL _url)
Creates a splash screen with the image from the specified URL.

Method Detail

createWindow

public void createWindow()
Configure this splash screen to use a window (versus a titled frame)


show

public void show()
Shows this splash screen. If you have not explicitly called createWindow() or createFrame(), then the default will be a window


hide

public void hide()
Hides the current splash window or frame


dispose

public void dispose()
Disposes the current splash window or frame


start

public void start()

run

public void run()
Description copied from interface: java.lang.Runnable
This method will be called by whoever wishes to run your class implementing Runnable. Note that there are no restrictions on what you are allowed to do in the run method, except that you cannot throw a checked exception.

Specified by:
run in interface java.lang.Runnable