java.lang.Object
com.example.demo.Scenes
-
Constructor Summary
ConstructorsConstructorDescriptionScenes(int width, int height, javafx.stage.Stage stage) constructor of Scenes. -
Method Summary
Modifier and TypeMethodDescriptionvoidgetAge()Get age value.Get ageUnit value.Get cohort value.Get cohort unit value.Get colorVision value.Get condition value.Get dashboardControllerjavafx.scene.SceneGet dashboardScene.Get decimal value.Get defaultFlag value.getError()Get error value.Get feature value.intGet fontsize value.intGet height valuebooleanGet isDark value.Get language value.javafx.scene.SceneGet loginScene.Get predictedDefaultRate value.Get separator value.javafx.scene.SceneGet SettingsScene.javafx.stage.StagegetStage()Get stagegetToken()Get token value.getValue()Get value value.intgetWidth()get Width valuevoidInitialize dashboard page.voidInitialize settings page.voidvoidSet value of age.voidsetAgeUnit(String ageUnit) Set value of ageUnit.voidSet value of cohort.voidsetCohortUnit(String cohortUnit) Set value of cohort unit.voidsetColorVision(String colorVision) Set the value of colorVisionvoidsetCondition(String condition) Set value of condition.voidsetDecimal(String decimal) Set value of decimal.voidsetDefaultFlag(String defaultFlag) Set value of defaultFlag.voidSet value of error.voidsetFeature(String feature) Set value of feature.voidsetFontSize(int fontSize) Set value of fontSize.voidsetIsDark(boolean isDark) Set the value of isDarkvoidsetLanguage(String language) Set value of language.voidsetPredictedDefaultRate(String predictedDefaultRate) Set value of predictedDefaultRate.voidsetSeparator(String separator) Set value of separator.voidSet value of token.voidSet value of value.
-
Constructor Details
-
Scenes
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
Get colorVision value.- Returns:
- colorVision value.
-
setColorVision
Set the value of colorVision- Parameters:
colorVision- The value of colorVision.
-
getToken
Get token value.- Returns:
- String of token
-
setToken
Set value of token.- Parameters:
token- The value of token.
-
getError
Get error value.- Returns:
- String of error.
-
setError
Set value of error.- Parameters:
error- The value of error.
-
getFeature
Get feature value.- Returns:
- String of feature.
-
setFeature
Set value of feature.- Parameters:
feature- The value of feature.
-
getCondition
Get condition value.- Returns:
- String of condition.
-
setCondition
Set value of condition.- Parameters:
condition- The value of error.
-
getValue
Get value value.- Returns:
- String of value.
-
setValue
Set value of value.- Parameters:
value- The value of value.
-
getDecimal
Get decimal value.- Returns:
- String of decimal.
-
setDecimal
Set value of decimal.- Parameters:
decimal- The value of decimal.
-
getSeparator
Get separator value.- Returns:
- String of separator.
-
setSeparator
Set value of separator.- Parameters:
separator- The value of separator.
-
getAge
Get age value.- Returns:
- String of age.
-
setAge
Set value of age.- Parameters:
age- The value of age.
-
getCohort
Get cohort value.- Returns:
- String of cohort.
-
setCohort
Set value of cohort.- Parameters:
cohort- The value of cohort.
-
getAgeUnit
Get ageUnit value.- Returns:
- String of age unit.
-
setAgeUnit
Set value of ageUnit.- Parameters:
ageUnit- The value of age unit.
-
getCohortUnit
Get cohort unit value.- Returns:
- String of cohort.
-
setCohortUnit
Set value of cohort unit.- Parameters:
cohortUnit- The value of cohort unit.
-
getDefaultFlag
Get defaultFlag value.- Returns:
- String of defaultFlag.
-
setDefaultFlag
Set value of defaultFlag.- Parameters:
defaultFlag- The value of defaultFlag.
-
getPredictedDefaultRate
Get predictedDefaultRate value.- Returns:
- String of predictedDefaultRate.
-
setPredictedDefaultRate
Set value of predictedDefaultRate.- Parameters:
predictedDefaultRate- The value of predictedDefaultRate.
-
getLanguage
Get language value.- Returns:
- String of language.
-
setLanguage
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
Initialize dashboard page.- Throws:
IOException- Class instance storing FXML and their controllers provide interface for controllers to interact with each other.
-
initializeSettings
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
Get dashboardController- Returns:
- controller of dashboard.
-
openDarkMode
public void openDarkMode() -
closeDarkMode
public void closeDarkMode()
-