Skip to content
Snippets Groups Projects
Commit cb42c241 authored by fabio.rodrigue1's avatar fabio.rodrigue1
Browse files

removed some useless functions

parent 72e8e463
Branches
Tags
No related merge requests found
...@@ -142,15 +142,6 @@ public class contactMenuController { ...@@ -142,15 +142,6 @@ public class contactMenuController {
App.setRoot("contactShow"); App.setRoot("contactShow");
} }
@FXML
void closeAppWSave(ActionEvent event) {
}
@FXML
void closeAppWoSave(ActionEvent event) {
System.exit(0);
}
@FXML @FXML
void selectMenuType(ActionEvent event) { void selectMenuType(ActionEvent event) {
...@@ -285,10 +276,6 @@ public class contactMenuController { ...@@ -285,10 +276,6 @@ public class contactMenuController {
} }
} }
void changeValue(){
System.out.println(" ComboBox.getValue(): " + searchTypeCbx.getValue());
}
public static void showPopup(){ public static void showPopup(){
Alert alert = new Alert(Alert.AlertType.CONFIRMATION); Alert alert = new Alert(Alert.AlertType.CONFIRMATION);
alert.setTitle(popupTitle); alert.setTitle(popupTitle);
...@@ -300,7 +287,7 @@ public class contactMenuController { ...@@ -300,7 +287,7 @@ public class contactMenuController {
alert.getButtonTypes().setAll(btnOk); alert.getButtonTypes().setAll(btnOk);
// This allows you to get the response back from the user // This allows you to get the response back from the user
Optional<ButtonType> result = alert.showAndWait(); alert.showAndWait();
} }
private void addAllContactsToListView(){ private void addAllContactsToListView(){
......
...@@ -99,11 +99,6 @@ public class contactShowController { ...@@ -99,11 +99,6 @@ public class contactShowController {
private Classes chosenClass = Classes.NONE; private Classes chosenClass = Classes.NONE;
@FXML
void addContact(ActionEvent event) {
System.out.println("Clicked add");
}
void getContact(){ void getContact(){
//System.out.println("Index Contact:"+contactMenuController.selectedIndexCont); //System.out.println("Index Contact:"+contactMenuController.selectedIndexCont);
if(contactMenuController.selectedIndexCont >= 0 && contactMenuController.selectedIndexCont < Contact.contact_lst_count){ if(contactMenuController.selectedIndexCont >= 0 && contactMenuController.selectedIndexCont < Contact.contact_lst_count){
...@@ -204,8 +199,7 @@ public class contactShowController { ...@@ -204,8 +199,7 @@ public class contactShowController {
} }
@FXML @FXML
void cancelAction(ActionEvent event)throws IOException { void cancelAction(ActionEvent event)throws IOException {
//App.setRoot("myApp"); App.setRoot("myApp");
App.changeScene("myApp.fxml");
} }
@FXML @FXML
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment