|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
javax.swing.JWindow
gate.gui.Splash
A splash screen.
A splash screen is an image that appears on the screen while an application
initialises. The implementation uses a Window
(a Frame with
no decorations such as bar or buttons) and can either display a JComponent
as content or an image.
Field Summary |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
Splash(JComponent content)
Constructor from content. |
|
Splash(String imageResourcePath)
Contructor from image. |
|
Splash(Window owner,
JComponent content)
Constructor from owner and content. |
|
Splash(Window owner,
String imageResourcePath)
Constructor from owner and image. |
Method Summary | |
void |
show()
Displays the splash screen centered in the owner's space or centered on the screen if no owner or owner not shown. |
Methods inherited from class javax.swing.JWindow |
getAccessibleContext, getContentPane, getGlassPane, getLayeredPane, getRootPane, remove, setContentPane, setGlassPane, setLayeredPane, setLayout, update |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Splash(Window owner, JComponent content)
public Splash(String imageResourcePath)
public Splash(JComponent content)
public Splash(Window owner, String imageResourcePath)
Method Detail |
public void show()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |