Class DefaultSplashScreen2012

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, SplashPanel

public final class DefaultSplashScreen2012 extends BasicComponentSplashScreen
See Also:
  • Field Details

  • Constructor Details

    • DefaultSplashScreen2012

      public DefaultSplashScreen2012()
  • Method Details

    • paintComponent

      public void paintComponent(Graphics g)
      Overrides:
      paintComponent in class JComponent
    • paintTo

      public void paintTo(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)
      Description copied from interface: SplashPanel
      how mny percentage loaded is shown in progress bar (if any)
      Parameters:
      done - - should be in 0-100 inclusive
    • getPercentage

      public int getPercentage()
      Description copied from interface: SplashPanel
      returns state of loading progress bar
      Returns:
      percentage showed in possible progress bar - should be in 0-100