Class DefaultSplashScreens2012Commons
- java.lang.Object
-
- net.adoptopenjdk.icedteaweb.client.parts.splashscreen.impls.DefaultSplashScreens2012Commons
-
public final class DefaultSplashScreens2012Commons extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private BasePainterpainterprivate BasicComponentSplashScreenparent
-
Constructor Summary
Constructors Constructor Description DefaultSplashScreens2012Commons(BasePainter painterr, BasicComponentSplashScreen parentt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadjustForSize()intgetPercentage()voidpaintTo(java.awt.Graphics g)voidsetPercentage(int done)voidstartAnimation()Methods to start the animation in the splash panel.voidstopAnimation()
-
-
-
Field Detail
-
parent
private final BasicComponentSplashScreen parent
-
painter
private final BasePainter painter
-
-
Constructor Detail
-
DefaultSplashScreens2012Commons
public DefaultSplashScreens2012Commons(BasePainter painterr, BasicComponentSplashScreen parentt)
-
-
Method Detail
-
paintTo
public void paintTo(java.awt.Graphics g)
-
adjustForSize
public void adjustForSize()
-
stopAnimation
public void stopAnimation()
-
startAnimation
public void startAnimation()
Methods to start the animation in the splash panel. This method exits after starting a new thread to do the animation. It is synchronized to prevent multiple startAnimation threads from being created.
-
setPercentage
public void setPercentage(int done)
-
getPercentage
public int getPercentage()
-
-