Class BasicComponentSplashScreen

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
net.adoptopenjdk.icedteaweb.client.parts.splashscreen.parts.BasicComponentSplashScreen
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, SplashPanel
Direct Known Subclasses:
DefaultSplashScreen2012

public abstract class BasicComponentSplashScreen extends JComponent implements SplashPanel
See Also:
  • Field Details

    • ORIGINAL_W

      public static final double ORIGINAL_W
      See Also:
    • ORIGINAL_H

      public static final double ORIGINAL_H
      See Also:
    • pluginWidth

      protected int pluginWidth
      Width of the plugin window
    • pluginHeight

      protected int pluginHeight
      Height of the plugin window
    • animationRunning

      private boolean animationRunning
      The project name to display
    • content

      private InformationElement content
    • version

      private String version
  • Constructor Details

    • BasicComponentSplashScreen

      public BasicComponentSplashScreen()
  • Method Details

    • getSplashComponent

      public JComponent getSplashComponent()
      Description copied from interface: SplashPanel
      The plugin splashscreens must be placed into another containers, So must return themselves as JComponent. Mostly your SplashScreen will extend some JComponent, so this method will just return "this"
      Specified by:
      getSplashComponent in interface SplashPanel
    • isAnimationRunning

      public boolean isAnimationRunning()
      Specified by:
      isAnimationRunning in interface SplashPanel
    • setAnimationRunning

      public void setAnimationRunning(boolean b)
    • setInformationElement

      public void setInformationElement(InformationElement content)
      Specified by:
      setInformationElement in interface SplashPanel
    • getInformationElement

      public InformationElement getInformationElement()
      Specified by:
      getInformationElement in interface SplashPanel
    • getSplashWidth

      public int getSplashWidth()
      Description copied from interface: SplashPanel
      Width of the plugin window
      Specified by:
      getSplashWidth in interface SplashPanel
      Returns:
      the pluginWidth
    • setSplashWidth

      public void setSplashWidth(int pluginWidth)
      Description copied from interface: SplashPanel
      Width of the plugin window
      Specified by:
      setSplashWidth in interface SplashPanel
      Parameters:
      pluginWidth - the pluginWidth to set
    • getSplashHeight

      public int getSplashHeight()
      Description copied from interface: SplashPanel
      Height of the plugin window
      Specified by:
      getSplashHeight in interface SplashPanel
      Returns:
      the pluginHeight
    • setSplashHeight

      public void setSplashHeight(int pluginHeight)
      Description copied from interface: SplashPanel
      Height of the plugin window
      Specified by:
      setSplashHeight in interface SplashPanel
      Parameters:
      pluginHeight - the pluginHeight to set
    • getVersion

      public String getVersion()
      Specified by:
      getVersion in interface SplashPanel
      Returns:
      the version
    • setVersion

      public void setVersion(String version)
      Description copied from interface: SplashPanel
      Version can be printed in splash window
      Specified by:
      setVersion in interface SplashPanel
      Parameters:
      version - the version to set
    • createAdditionalInfo

      protected String createAdditionalInfo()