Package com.edu.xmum.CST210.View.Styler
Class PrepareViewStyler
java.lang.Object
com.edu.xmum.CST210.View.Styler.PrepareViewStyler
Beautification of PrepareView based on Appearance Pattern Design.
Applies styles to the VBox, Label, and Button based on the selected skin.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidButtonStyle(Skin skin, javafx.scene.control.Button button) Styles the Button based on the specified skin.static voidLabelStyle(Skin skin, javafx.scene.control.Label prepareLabel) Styles the Label based on the specified skin.static voidStyles the VBox based on the specified skin.
-
Constructor Details
-
PrepareViewStyler
public PrepareViewStyler()
-
-
Method Details
-
VboxStyle
Styles the VBox based on the specified skin.- Parameters:
skin- The skin to apply to the VBox.vBox- The VBox to style.
-
LabelStyle
Styles the Label based on the specified skin.- Parameters:
skin- The skin to apply to the Label.prepareLabel- The Label to style.
-
ButtonStyle
Styles the Button based on the specified skin.- Parameters:
skin- The skin to apply to the Button.button- The Button to style.
-