Class SplashScreenOptions


  • public class SplashScreenOptions
    extends Object
    Author:
    Jeff Riggle
    • Constructor Detail

      • SplashScreenOptions

        public SplashScreenOptions()
        Base ctor.
    • Method Detail

      • fontFamily

        public void fontFamily​(String font)
        Parameters:
        font - The name of the font to use.
      • fontFamily

        public String fontFamily()
        Returns:
        The name of the font to use.
      • backgroundImage

        public void backgroundImage​(javafx.scene.image.Image image)
        Parameters:
        imageLocation - A path to an image.
      • backgroundColor

        public void backgroundColor​(String color)
        Parameters:
        color - A string representing a color to be used.
      • backgroundColor

        public String backgroundColor()
        Returns:
        A string representing a color to be used.
      • backgroundImage

        public javafx.scene.image.Image backgroundImage()
        Returns:
        A path to an image to be used.
      • customSplashScreenCreator

        public void customSplashScreenCreator​(ISplashScreenCreator creator)
        Parameters:
        creator - A @see ISplashScreenCreator to be used to create splash screens.
      • customSplashScreen

        public javafx.scene.Parent customSplashScreen()
        Returns:
        The splash screen to show.