Class SelectionViewStyler

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

public class SelectionViewStyler extends Object
Beautification of SelectionView 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
    styleButton(Skin skin, javafx.scene.control.Button button)
    Styles the button based on the specified skin.
    static void
    styleTitleLabel(Skin skin, javafx.scene.control.Label difficultyLabel)
    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

    • SelectionViewStyler

      public SelectionViewStyler()
  • 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 difficultyLabel)
      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

      public static void styleButton(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.