delete unused function
This commit is contained in:
parent
a519393fc7
commit
a8a693296e
|
@ -56,7 +56,6 @@ public class MainFXMLController {
|
||||||
@FXML
|
@FXML
|
||||||
void goToHome() {
|
void goToHome() {
|
||||||
showPaneAsMainView("Home.fxml");
|
showPaneAsMainView("Home.fxml");
|
||||||
styleChangeButton(home_button);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -65,7 +64,6 @@ public class MainFXMLController {
|
||||||
@FXML
|
@FXML
|
||||||
void goToMyPlants() {
|
void goToMyPlants() {
|
||||||
showPaneAsMainView("MyGarden.fxml");
|
showPaneAsMainView("MyGarden.fxml");
|
||||||
styleChangeButton(myGarden_button);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -74,7 +72,6 @@ public class MainFXMLController {
|
||||||
@FXML
|
@FXML
|
||||||
void goToMySchedule() {
|
void goToMySchedule() {
|
||||||
showPaneAsMainView("MySchedule.fxml");
|
showPaneAsMainView("MySchedule.fxml");
|
||||||
styleChangeButton(mySchedule_button);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -160,15 +157,6 @@ public class MainFXMLController {
|
||||||
appLoader.loadAndCacheFxml("Plants.fxml");
|
appLoader.loadAndCacheFxml("Plants.fxml");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void styleChangeButton(Button button) {
|
|
||||||
/*home_button.setStyle("-fx-background-color: rgb(0,128,0)");
|
|
||||||
myGarden_button.setStyle("-fx-background-color: rgb(0,128,0)");
|
|
||||||
mySchedule_button.setStyle("-fx-background-color: rgb(0,128,0)");
|
|
||||||
settings_button.setStyle("-fx-background-color: rgb(0,128,0)");
|
|
||||||
tutorial_button.setStyle("-fx-background-color: rgb(0,128,0)");
|
|
||||||
button.setStyle("-fx-background-color: darkgreen");*/
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* loads the default FXML File
|
* loads the default FXML File
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
|
@ -179,7 +167,6 @@ public class MainFXMLController {
|
||||||
try {
|
try {
|
||||||
preloadPanes();
|
preloadPanes();
|
||||||
showPaneAsMainView("MyGarden.fxml");
|
showPaneAsMainView("MyGarden.fxml");
|
||||||
styleChangeButton(myGarden_button);
|
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
LOG.log(Level.SEVERE, "Failed to load FXML-Pane!", e);
|
LOG.log(Level.SEVERE, "Failed to load FXML-Pane!", e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue