Class PrepareViewStyler

java.lang.Object
com.edu.xmum.CST210.View.Styler.PrepareViewStyler

public class PrepareViewStyler extends Object
Beautification of PrepareView based on Appearance Pattern Design. Applies styles to the VBox, Label, and Button based on the selected skin.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    ButtonStyle(Skin skin, javafx.scene.control.Button button)
    Styles the Button based on the specified skin.
    static void
    LabelStyle(Skin skin, javafx.scene.control.Label prepareLabel)
    Styles the Label based on the specified skin.
    static void
    VboxStyle(Skin skin, javafx.scene.layout.VBox vBox)
    Styles the VBox based on the specified skin.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PrepareViewStyler

      public PrepareViewStyler()
  • Method Details

    • VboxStyle

      public static void VboxStyle(Skin skin, javafx.scene.layout.VBox vBox)
      Styles the VBox based on the specified skin.
      Parameters:
      skin - The skin to apply to the VBox.
      vBox - The VBox to style.
    • LabelStyle

      public static void LabelStyle(Skin skin, javafx.scene.control.Label prepareLabel)
      Styles the Label based on the specified skin.
      Parameters:
      skin - The skin to apply to the Label.
      prepareLabel - The Label to style.
    • ButtonStyle

      public static void ButtonStyle(Skin skin, javafx.scene.control.Button button)
      Styles the Button based on the specified skin.
      Parameters:
      skin - The skin to apply to the Button.
      button - The Button to style.