Package com.edu.xmum.CST210.View.Styler
Class WelcomeViewStyler
java.lang.Object
com.edu.xmum.CST210.View.Styler.WelcomeViewStyler
Beautification of WelcomeView based on Appearance Pattern Design.
Applies styles to various components based on the selected skin.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstyleStartButton(Skin skin, javafx.scene.control.Button button) Styles the start button based on the specified skin.static voidstyleTitleLabel(Skin skin, javafx.scene.control.Label label) Styles the title label based on the specified skin.static voidStyles the VBox based on the specified skin.
-
Constructor Details
-
WelcomeViewStyler
public WelcomeViewStyler()
-
-
Method Details
-
styleVbox
Styles the VBox based on the specified skin.- Parameters:
skin- The skin to apply to the VBox.box- The VBox to style.
-
styleTitleLabel
Styles the title label based on the specified skin.- Parameters:
skin- The skin to apply to the title label.label- The title label to style.
-
styleStartButton
Styles the start button based on the specified skin.- Parameters:
skin- The skin to apply to the start button.button- The start button to style.
-