Class WelcomeViewStyler

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

public class WelcomeViewStyler extends Object
Beautification of WelcomeView based on Appearance Pattern Design. Applies styles to various components based on the selected skin.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    styleStartButton(Skin skin, javafx.scene.control.Button button)
    Styles the start button based on the specified skin.
    static void
    styleTitleLabel(Skin skin, javafx.scene.control.Label label)
    Styles the title label based on the specified skin.
    static void
    styleVbox(Skin skin, javafx.scene.layout.VBox box)
    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

    • WelcomeViewStyler

      public WelcomeViewStyler()
  • Method Details

    • styleVbox

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

      public static void styleTitleLabel(Skin skin, javafx.scene.control.Label label)
      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

      public static void styleStartButton(Skin skin, javafx.scene.control.Button button)
      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.