com.partnersoft.v3x.gui
Class Splash

java.lang.Object
  extended by com.partnersoft.v3x.gui.Splash

public class Splash
extends java.lang.Object

Handy splash screen for amusing users whilst loading.


Constructor Summary
Splash()
           
Splash(java.io.File filet)
           
 
Method Summary
static Splash createStandardSplash(java.lang.String packageName)
          Creates a standard splash for the given package name.
 java.awt.Component getDisplay()
           
 boolean isVisible()
           
static void main(java.lang.String[] argv)
          Handy main.
 void setDisplay(java.awt.Component newDisplay)
           
 void setVisible(boolean is)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Splash

public Splash()

Splash

public Splash(java.io.File filet)
Method Detail

main

public static void main(java.lang.String[] argv)
Handy main. Takes first argument as an image to splash.


createStandardSplash

public static Splash createStandardSplash(java.lang.String packageName)
Creates a standard splash for the given package name. This will look in the following order for an image, and returns a splash for the first one: -> Package/resources/icons/Splash -> Shared/resources/icons/Splash It looks for the usual file extensions (.png, .jpeg, .jpg, .gif) at those places. If no splash, nothing will happen (making it visible does nothing) but a Splash object is still created so you don't have to have fancy code or anything.


getDisplay

public java.awt.Component getDisplay()

setDisplay

public void setDisplay(java.awt.Component newDisplay)

isVisible

public boolean isVisible()

setVisible

public void setVisible(boolean is)