Package com.edu.xmum.CST210.View.Styler
Class SelectionViewStyler
java.lang.Object
com.edu.xmum.CST210.View.Styler.SelectionViewStyler
Beautification of SelectionView based on Appearance Pattern Design.
Applies styles to various components based on the selected skin.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstyleButton(Skin skin, javafx.scene.control.Button button) Styles the button based on the specified skin.static voidstyleTitleLabel(Skin skin, javafx.scene.control.Label difficultyLabel) Styles the title label based on the specified skin.static voidStyles the VBox based on the specified skin.
-
Constructor Details
-
SelectionViewStyler
public SelectionViewStyler()
-
-
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.difficultyLabel- The title label to style.
-
styleButton
Styles the button based on the specified skin.- Parameters:
skin- The skin to apply to the button.button- The button to style.
-