Class DBEsplashScreen
java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.gui.webstart.DBEsplashScreen
- All Implemented Interfaces:
SplashScreenInterface
,ProgressViewer
public class DBEsplashScreen extends Object implements SplashScreenInterface
- Author:
- Christian Klukas (c) 2004 IPK-Gatersleben
-
Constructor Summary
Constructors Constructor Description DBEsplashScreen(String applicationName, String copyright, Runnable endTask)
-
Method Summary
Modifier and Type Method Description int
getMaximum()
static ImageIcon
getStartLogo()
int
getValue()
Returns the progress viewer's current value.void
setIconImage(Image image)
void
setInitialisationFinished()
void
setMaximum(int maximum)
Sets the progress viewer's maximum value to n.void
setText(String text)
Sets the value of the progress text.void
setValue(int value)
Sets the progress viewer's current value to n.void
setVisible(boolean visible)
-
Constructor Details
-
DBEsplashScreen
-
-
Method Details
-
getStartLogo
-
setMaximum
public void setMaximum(int maximum)Description copied from interface:ProgressViewer
Sets the progress viewer's maximum value to n. By default, the maximum value is 100.- Specified by:
setMaximum
in interfaceProgressViewer
- Specified by:
setMaximum
in interfaceSplashScreenInterface
- Parameters:
maximum
- the new maximum
-
setText
Description copied from interface:ProgressViewer
Sets the value of the progress text. By default, this string is null. If you have provided a custom progress string and want to revert to the built-in behavior, set the string back to null.- Specified by:
setText
in interfaceProgressViewer
- Specified by:
setText
in interfaceSplashScreenInterface
- Parameters:
text
- the value of the progress string
-
setValue
public void setValue(int value)Description copied from interface:ProgressViewer
Sets the progress viewer's current value to n.- Specified by:
setValue
in interfaceProgressViewer
- Specified by:
setValue
in interfaceSplashScreenInterface
- Parameters:
value
- the new value
-
getValue
public int getValue()Description copied from interface:ProgressViewer
Returns the progress viewer's current value. The value is always between the zero and the maximum values, inclusive. By default, the value is initialized to zero.- Specified by:
getValue
in interfaceProgressViewer
- Specified by:
getValue
in interfaceSplashScreenInterface
- Returns:
- DOCUMENT ME!
-
setVisible
public void setVisible(boolean visible)- Specified by:
setVisible
in interfaceSplashScreenInterface
-
setInitialisationFinished
public void setInitialisationFinished()- Specified by:
setInitialisationFinished
in interfaceSplashScreenInterface
-
setIconImage
-
getMaximum
public int getMaximum()- Specified by:
getMaximum
in interfaceProgressViewer
-