Class SplashWindow

java.lang.Object
com.biglybt.ui.swt.mainwindow.SplashWindow
All Implemented Interfaces:
InitializerListener

public class SplashWindow extends Object implements InitializerListener
The initial Splash Screen shown while the client loads
  • Field Details

    • IMG_SPLASH

      private static final String IMG_SPLASH
      See Also:
    • OFFSET_LEFT

      protected static final int OFFSET_LEFT
      See Also:
    • OFFSET_RIGHT

      protected static final int OFFSET_RIGHT
      See Also:
    • OFFSET_BOTTOM

      protected static final int OFFSET_BOTTOM
      See Also:
    • PB_HEIGHT

      protected static final int PB_HEIGHT
      See Also:
    • PB_INVERTED

      protected static final boolean PB_INVERTED
      See Also:
    • PB_INVERTED_BG_HEIGHT

      protected static final int PB_INVERTED_BG_HEIGHT
      See Also:
    • PB_INVERTED_X_OFFSET

      protected static final int PB_INVERTED_X_OFFSET
      See Also:
    • DISPLAY_BORDER

      protected static final boolean DISPLAY_BORDER
      See Also:
    • display

      org.eclipse.swt.widgets.Display display
    • initializer

      IUIIntializer initializer
    • splash

      org.eclipse.swt.widgets.Shell splash
    • canvas

      org.eclipse.swt.widgets.Canvas canvas
    • background

      org.eclipse.swt.graphics.Image background
    • width

      int width
    • height

      int height
    • current

      org.eclipse.swt.graphics.Image current
    • progressBarColor

      org.eclipse.swt.graphics.Color progressBarColor
    • textColor

      org.eclipse.swt.graphics.Color textColor
    • fadedGreyColor

      org.eclipse.swt.graphics.Color fadedGreyColor
    • textFont

      org.eclipse.swt.graphics.Font textFont
    • task

      private String task
    • percent

      private int percent
    • updating

      private boolean updating
    • pbX

      int pbX
    • pbY

      int pbY
    • pbWidth

      int pbWidth
  • Constructor Details

    • SplashWindow

      public SplashWindow(org.eclipse.swt.widgets.Display display)
    • SplashWindow

      public SplashWindow(org.eclipse.swt.widgets.Display _display, IUIIntializer initializer)
  • Method Details

    • main

      public static void main(String[] args)
    • closeSplash

      public void closeSplash()
    • reportCurrentTask

      public void reportCurrentTask(String task)
      Specified by:
      reportCurrentTask in interface InitializerListener
    • update

      private void update()
      Since:
      3.0.0.7
    • getPercent

      public int getPercent()
    • reportPercent

      public void reportPercent(int percent)
      Specified by:
      reportPercent in interface InitializerListener