- java.lang.Object
-
- ilusr.core.javafx.splashscreen.SplashScreenModel
-
public class SplashScreenModel extends Object
- Author:
- Jeff Riggle
-
-
Constructor Summary
Constructors Constructor Description SplashScreenModel()Creates a new splash screen model.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javafx.beans.property.SimpleStringPropertyapplicationName()javafx.beans.property.SimpleStringPropertybackgroundStyle()javafx.beans.property.SimpleStringPropertycurrentState()javafx.beans.property.SimpleStringPropertyfontFamily()javafx.scene.image.ImagegetBackgroundImage()voidsetBackgroundColor(String color)voidsetBackgroundImage(javafx.scene.image.Image image)voidsetCurrentState(String state)javafx.beans.property.SimpleStringPropertyversion()
-
-
-
Method Detail
-
applicationName
public javafx.beans.property.SimpleStringProperty applicationName()
- Returns:
- The name of the application.
-
version
public javafx.beans.property.SimpleStringProperty version()
- Returns:
- The version of the application.
-
currentState
public javafx.beans.property.SimpleStringProperty currentState()
- Returns:
- The state to display on the splash screen.
-
setCurrentState
public void setCurrentState(String state)
- Parameters:
state- The new state to display on the splash screen.
-
fontFamily
public javafx.beans.property.SimpleStringProperty fontFamily()
- Returns:
- The font to use for the splash screen.
-
backgroundStyle
public javafx.beans.property.SimpleStringProperty backgroundStyle()
- Returns:
- The style to apply to the splash screen.
-
getBackgroundImage
public javafx.scene.image.Image getBackgroundImage()
- Returns:
- The background image to use for the splash screen.
-
setBackgroundImage
public void setBackgroundImage(javafx.scene.image.Image image)
- Parameters:
image- The new image to use for the background.
-
setBackgroundColor
public void setBackgroundColor(String color)
- Parameters:
color- The background color to use of the splash screen.
-
-