Class Scenes

java.lang.Object
com.example.demo.Scenes

public class Scenes extends Object
  • Constructor Details

    • Scenes

      public Scenes(int width, int height, javafx.stage.Stage stage) throws IOException
      constructor of Scenes.
      Parameters:
      width - Width of the windows.
      height - Height of the windows.
      stage - Stage of the windows.
      Throws:
      IOException - Class instance storing FXML and their controllers provide interface for controllers to interact with each other.
  • Method Details

    • getWidth

      public int getWidth()
      get Width value
      Returns:
      value of widgh
    • getHeight

      public int getHeight()
      Get height value
      Returns:
      height
    • getIsDark

      public boolean getIsDark()
      Get isDark value.
      Returns:
      True if the user choose dark mode. False otherwise
    • setIsDark

      public void setIsDark(boolean isDark)
      Set the value of isDark
      Parameters:
      isDark - The value of isDark.
    • getColorVision

      public String getColorVision()
      Get colorVision value.
      Returns:
      colorVision value.
    • setColorVision

      public void setColorVision(String colorVision)
      Set the value of colorVision
      Parameters:
      colorVision - The value of colorVision.
    • getToken

      public String getToken()
      Get token value.
      Returns:
      String of token
    • setToken

      public void setToken(String token)
      Set value of token.
      Parameters:
      token - The value of token.
    • getError

      public String getError()
      Get error value.
      Returns:
      String of error.
    • setError

      public void setError(String error)
      Set value of error.
      Parameters:
      error - The value of error.
    • getFeature

      public String getFeature()
      Get feature value.
      Returns:
      String of feature.
    • setFeature

      public void setFeature(String feature)
      Set value of feature.
      Parameters:
      feature - The value of feature.
    • getCondition

      public String getCondition()
      Get condition value.
      Returns:
      String of condition.
    • setCondition

      public void setCondition(String condition)
      Set value of condition.
      Parameters:
      condition - The value of error.
    • getValue

      public String getValue()
      Get value value.
      Returns:
      String of value.
    • setValue

      public void setValue(String value)
      Set value of value.
      Parameters:
      value - The value of value.
    • getDecimal

      public String getDecimal()
      Get decimal value.
      Returns:
      String of decimal.
    • setDecimal

      public void setDecimal(String decimal)
      Set value of decimal.
      Parameters:
      decimal - The value of decimal.
    • getSeparator

      public String getSeparator()
      Get separator value.
      Returns:
      String of separator.
    • setSeparator

      public void setSeparator(String separator)
      Set value of separator.
      Parameters:
      separator - The value of separator.
    • getAge

      public String getAge()
      Get age value.
      Returns:
      String of age.
    • setAge

      public void setAge(String age)
      Set value of age.
      Parameters:
      age - The value of age.
    • getCohort

      public String getCohort()
      Get cohort value.
      Returns:
      String of cohort.
    • setCohort

      public void setCohort(String cohort)
      Set value of cohort.
      Parameters:
      cohort - The value of cohort.
    • getAgeUnit

      public String getAgeUnit()
      Get ageUnit value.
      Returns:
      String of age unit.
    • setAgeUnit

      public void setAgeUnit(String ageUnit)
      Set value of ageUnit.
      Parameters:
      ageUnit - The value of age unit.
    • getCohortUnit

      public String getCohortUnit()
      Get cohort unit value.
      Returns:
      String of cohort.
    • setCohortUnit

      public void setCohortUnit(String cohortUnit)
      Set value of cohort unit.
      Parameters:
      cohortUnit - The value of cohort unit.
    • getDefaultFlag

      public String getDefaultFlag()
      Get defaultFlag value.
      Returns:
      String of defaultFlag.
    • setDefaultFlag

      public void setDefaultFlag(String defaultFlag)
      Set value of defaultFlag.
      Parameters:
      defaultFlag - The value of defaultFlag.
    • getPredictedDefaultRate

      public String getPredictedDefaultRate()
      Get predictedDefaultRate value.
      Returns:
      String of predictedDefaultRate.
    • setPredictedDefaultRate

      public void setPredictedDefaultRate(String predictedDefaultRate)
      Set value of predictedDefaultRate.
      Parameters:
      predictedDefaultRate - The value of predictedDefaultRate.
    • getLanguage

      public String getLanguage()
      Get language value.
      Returns:
      String of language.
    • setLanguage

      public void setLanguage(String language)
      Set value of language.
      Parameters:
      language - The value of language.
    • getFontSize

      public int getFontSize()
      Get fontsize value.
      Returns:
      String of language.
    • setFontSize

      public void setFontSize(int fontSize)
      Set value of fontSize.
      Parameters:
      fontSize - The value of language.
    • initializeDashboard

      public void initializeDashboard() throws IOException
      Initialize dashboard page.
      Throws:
      IOException - Class instance storing FXML and their controllers provide interface for controllers to interact with each other.
    • initializeSettings

      public void initializeSettings() throws IOException
      Initialize settings page.
      Throws:
      IOException - Class instance storing FXML and their controllers provide interface for controllers to interact with each other.
    • getLoginScene

      public javafx.scene.Scene getLoginScene()
      Get loginScene.
      Returns:
      Scene of loginScene.
    • getDashboardScene

      public javafx.scene.Scene getDashboardScene()
      Get dashboardScene.
      Returns:
      Scene of dashboardScene.
    • getStage

      public javafx.stage.Stage getStage()
      Get stage
      Returns:
      Stage of scene.
    • getSettingsScene

      public javafx.scene.Scene getSettingsScene()
      Get SettingsScene.
      Returns:
      Scene of SettingsScene.
    • getDashboardController

      public DashboardController getDashboardController()
      Get dashboardController
      Returns:
      controller of dashboard.
    • openDarkMode

      public void openDarkMode()
    • closeDarkMode

      public void closeDarkMode()