- java.lang.Object
-
- ilusr.iroshell.features.SplashScreenOptions
-
public class SplashScreenOptions extends Object
- Author:
- Jeff Riggle
-
-
Constructor Summary
Constructors Constructor Description SplashScreenOptions()Base ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbackgroundColor()voidbackgroundColor(String color)javafx.scene.image.ImagebackgroundImage()voidbackgroundImage(javafx.scene.image.Image image)javafx.scene.ParentcustomSplashScreen()voidcustomSplashScreenCreator(ISplashScreenCreator creator)StringfontFamily()voidfontFamily(String font)
-
-
-
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.
-
-