|
GeoSoft API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--Component | +--Container | +--Window | +--SplashScreen
Class representing an application splash screen.
Typical usage:
SplashScreen splashScreen = new SplashScreen ("/com/company/splash.jpg"); splashScreen.open (3000);
Field Summary |
Fields inherited from class Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
SplashScreen(String imageFileName)
Create a new splash screen object of the specified image. |
Method Summary | |
void |
close()
Close the splash screen. |
void |
open(int nMilliseconds)
Open the splash screen and keep it open for the specified duration or until close() is called explicitly. |
void |
paint(Graphics graphics)
Implied by Window. |
Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SplashScreen(String imageFileName)
imageFileName
- Name of image file resource to act as splash screen.Method Detail |
public void open(int nMilliseconds)
public void close()
public void paint(Graphics graphics)
paint
in class Container
graphics
- The graphics instance.
|
GeoSoft API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |