Class ClusterSplashScreen
java.lang.Object
de.ipk_gatersleben.ag_nw.graffiti.plugins.gui.webstart.ClusterSplashScreen
- All Implemented Interfaces:
SplashScreenInterface
,ProgressViewer
public class ClusterSplashScreen extends Object implements SplashScreenInterface
- Author:
- Christian Klukas (c) 2004 IPK-Gatersleben
-
Constructor Summary
Constructors Constructor Description ClusterSplashScreen(String applicationName, String copyright)
-
Method Summary
Modifier and Type Method Description int
getMaximum()
int
getValue()
Returns the progress viewer's current value.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
-
ClusterSplashScreen
-
-
Method Details
-
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
-
getMaximum
public int getMaximum()- Specified by:
getMaximum
in interfaceProgressViewer
-